diff options
author | David Robillard <d@drobilla.net> | 2018-09-30 13:23:52 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-12-20 10:26:55 -0500 |
commit | 0e7d1a94f992f47048f2a25d2e17e891d40e07ff (patch) | |
tree | f9170839b2f926daa817fffca75f3a55b349a7ce | |
parent | 29e57379adab81cba7c38a00f30a48949281e216 (diff) | |
download | serd-0e7d1a94f992f47048f2a25d2e17e891d40e07ff.tar.gz serd-0e7d1a94f992f47048f2a25d2e17e891d40e07ff.tar.bz2 serd-0e7d1a94f992f47048f2a25d2e17e891d40e07ff.zip |
Add model to benchmarks
-rwxr-xr-x | serd_bench.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/serd_bench.py b/serd_bench.py index b34545b0..b9b8ca83 100755 --- a/serd_bench.py +++ b/serd_bench.py @@ -42,8 +42,8 @@ def gen(sp2b_dir, n_min, n_max, step): def write_header(results, progs): "Write the header line for TSV output" - results.write('n') - for prog in progs: + results.write('n\tserdi_stream\tserdi_model') + for prog in progs[2:]: results.write('\t' + os.path.basename(prog.split()[0])) results.write('\n') @@ -200,7 +200,8 @@ Example: opt.print_usage() sys.exit(1) - progs = ['serdi -b -f -i turtle -o turtle'] + options.run + progs = ['serdi -b -i turtle -o turtle', + 'serdi -m -b -i turtle -o turtle'] + options.run min_n = int(options.max / 10) max_n = options.max step = min_n |