diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2019-06-24 20:15:59 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2019-06-24 20:15:59 +0200 |
| commit | 9e05ba8bb59c9c67cec5feddac1852d690fb7418 (patch) | |
| tree | 14d3ac938f167117b67805211acea48a81153b22 | |
| parent | 7ffa9b4319363d1b424246e3a0ffc972d3158025 (diff) | |
| download | allocbench-9e05ba8bb59c9c67cec5feddac1852d690fb7418.tar.gz allocbench-9e05ba8bb59c9c67cec5feddac1852d690fb7418.zip | |
add option to exclude benchmarks
| -rwxr-xr-x | bench.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -24,6 +24,7 @@ parser.add_argument("-v", "--verbose", help="more output", action='count') parser.add_argument("-vdebug", "--verbose-debug", help="debug output", action='store_true', dest="verbose_debug") parser.add_argument("-b", "--benchmarks", help="benchmarks to run", nargs='+') +parser.add_argument("-xb", "--exclude-benchmarks", help="explicitly excluded benchmarks", nargs='+') parser.add_argument("-a", "--allocators", help="allocators to test", type=str, nargs='+') parser.add_argument("-ns", "--nosum", help="don't produce plots", action='store_true') parser.add_argument("-rd", "--resultdir", help="directory where all results go", type=str) @@ -169,6 +170,9 @@ def main(): for bench in src.globalvars.benchmarks: if args.benchmarks and bench not in args.benchmarks: continue + + if args.exclude_benchmarks and bench in args.exclude_benchmarks: + continue if args.analyse or not args.nosum: bench_res_dir = os.path.join(resdir, bench) |
