diff options
author | David Robillard <d@drobilla.net> | 2018-09-30 13:23:52 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-04-13 19:15:32 +0200 |
commit | 2afbb905c47b12dab0ceddbe8516675d291a4345 (patch) | |
tree | d244a5d736e055475291bc4c004718e85aaf2e9c | |
parent | fdb360c094b575b59640206d7eea0772bb9de26d (diff) | |
download | serd-2afbb905c47b12dab0ceddbe8516675d291a4345.tar.gz serd-2afbb905c47b12dab0ceddbe8516675d291a4345.tar.bz2 serd-2afbb905c47b12dab0ceddbe8516675d291a4345.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 |