Commit 9e05ba8b authored by Florian Fischer's avatar Florian Fischer
Browse files

add option to exclude benchmarks

parent 7ffa9b43
......@@ -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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment