diff options
author | David Robillard <d@drobilla.net> | 2020-08-13 17:25:50 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-08-13 17:25:50 +0200 |
commit | adae13963a67d85d39ca990b262688a729a98edc (patch) | |
tree | 640b2030c5579db042cb46f47225f82cae6686bf /wscript | |
parent | 8d6de7dac62b0cef196cc1aaf5451a7ccf4d93fe (diff) | |
download | zix-adae13963a67d85d39ca990b262688a729a98edc.tar.gz zix-adae13963a67d85d39ca990b262688a729a98edc.tar.bz2 zix-adae13963a67d85d39ca990b262688a729a98edc.zip |
Move benchmarks to a separate directory
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -219,12 +219,12 @@ def build(bld): # Benchmark programs for i in ['tree_bench', 'dict_bench']: bld(features = 'c cprogram', - source = 'test/%s.c' % i, + source = 'benchmark/%s.c' % i, includes = ['.'], use = 'libzix_static', uselib = 'GLIB', lib = ['rt'], - target = 'test/%s' % i, + target = 'benchmark/%s' % i, framework = framework, install_path = '') @@ -275,7 +275,7 @@ def bench(ctx): # Benchmark trees - subprocess.call(['test/tree_bench', '400000', '6400000']) + subprocess.call(['benchmark/tree_bench', '400000', '6400000']) subprocess.call(['../plot.py', 'tree_bench.svg', 'tree_insert.txt', 'tree_search.txt', @@ -298,6 +298,6 @@ def bench(ctx): out.write(word + ' ') out.close() - subprocess.call(['test/dict_bench', 'gibberish.txt']) + subprocess.call(['benchmark/dict_bench', 'gibberish.txt']) subprocess.call(['../plot.py', 'dict_bench.svg', 'dict_insert.txt', 'dict_search.txt']) |