import os from datetime import datetime from vbench.api import collect_benchmarks benchmarks = collect_benchmarks( ['vb_sins']) cur_dir = os.path.dirname(__file__) REPO_PATH = os.path.join(cur_dir, 'vbenchtest') REPO_URL = 'git://github.com/yarikoptic/vbenchtest.git' DB_PATH = os.path.join(cur_dir, 'db/benchmarks.db') TMP_DIR = os.path.join(cur_dir, 'tmp') # Assure corresponding directories existence for s in (REPO_PATH, os.path.dirname(DB_PATH), TMP_DIR): if not os.path.exists(s): os.makedirs(s) PREPARE = """ python setup.py clean """ CLEAN=PREPARE BUILD = """ python setup.py build_ext --inplace """ DEPENDENCIES = [os.path.join(cur_dir, 'vb_common.py')] START_DATE = datetime(2011, 01, 01)
import subprocess from vbench.api import collect_benchmarks from benchmarks.utils import cd BASEDIR = os.path.dirname(os.path.realpath(__file__)) log = logging.getLogger('vb') log.setLevel(logging.INFO) with cd(os.path.join(BASEDIR, 'benchmarks')): filenames = glob.glob("vb*.py") names = [filename[:-3] for filename in filenames] print(names) benchmarks = collect_benchmarks(names) log.info("Initializing settings") REPO_PATH = os.path.join(BASEDIR, 'dit') REPO_URL = 'git://github.com/dit/dit.git' REPO_BROWSE = 'https://github.com/dit/dit' DB_PATH = os.path.join(BASEDIR, 'db/benchmarks.db') TMP_DIR = os.path.join(BASEDIR, 'tmp') # Assure corresponding directories existence for s in (REPO_PATH, os.path.dirname(DB_PATH), TMP_DIR): if not os.path.exists(s): os.makedirs(s) BRANCHES = ['master']
from datetime import datetime import logging import os from vbench.api import collect_benchmarks log = logging.getLogger('vb') log.setLevel(logging.INFO) benchmarks = collect_benchmarks(['vb_sparse']) log.info("Initializing settings") cur_dir = os.path.dirname(__file__) REPO_URL = 'https://github.com/scipy/scipy.git' REPO_BROWSE = 'https://github.com/scipy/scipy' DB_PATH = os.path.join(cur_dir, 'db/benchmarks.db') REPO_MIRROR = os.path.join(cur_dir, 'scipy') REPO_PATH = os.path.join(cur_dir, 'tmp', 'scipy') TMP_DIR = os.path.join(cur_dir, 'tmp', 'tmp') # Assure corresponding directories existence for s in (REPO_PATH, os.path.dirname(DB_PATH), TMP_DIR): if not os.path.exists(s): os.makedirs(s) BRANCHES = ['master'] # : python setup.py clea PREPARE = """ git clean -dfx
import os from datetime import datetime from vbench.api import collect_benchmarks benchmarks = collect_benchmarks(['vb_sins']) cur_dir = os.path.dirname(__file__) REPO_PATH = os.path.join(cur_dir, 'vbenchtest') REPO_URL = 'git://github.com/yarikoptic/vbenchtest.git' DB_PATH = os.path.join(cur_dir, 'db/benchmarks.db') TMP_DIR = os.path.join(cur_dir, 'tmp') # Assure corresponding directories existence for s in (REPO_PATH, os.path.dirname(DB_PATH), TMP_DIR): if not os.path.exists(s): os.makedirs(s) PREPARE = """ python setup.py clean """ CLEAN = PREPARE BUILD = """ python setup.py build_ext --inplace """ DEPENDENCIES = [os.path.join(cur_dir, 'vb_common.py')] START_DATE = datetime(2011, 01, 01)
from datetime import datetime import logging import os, sys from vbench.api import collect_benchmarks log = logging.getLogger('vb') log.setLevel(logging.DEBUG) #log.addHandler(logging.StreamHandler(sys.stdout)) benchmarks = collect_benchmarks( ['vb_core', 'vb_io', 'vb_indexing', 'vb_random', 'vb_reduce', 'vb_ufunc', 'vb_linalg', 'vb_app', 'vb_function_base', ]) log.info("Initializing settings") import sys try: import ConfigParser config = ConfigParser.ConfigParser() config.readfp(open(os.path.expanduser('~/.vbenchcfg')))