mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-24 13:00:57 +08:00
adding benchmark declarations.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
from vbench.api import Benchmark
|
||||
from datetime import datetime
|
||||
|
||||
setup = """
|
||||
from zipline_bench_functions import *
|
||||
"""
|
||||
|
||||
basic_zipline = Benchmark(
|
||||
'run_basic_zipline()',
|
||||
setup=setup,
|
||||
start_date=datetime(2012,4,15),
|
||||
name='basic_zipline_test'
|
||||
)
|
||||
|
||||
load_ndict = Benchmark(
|
||||
'load_ndict',
|
||||
setup=setup,
|
||||
start_date=datetime(2012,4,15),
|
||||
name='load_ndict'
|
||||
)
|
||||
Reference in New Issue
Block a user