Commit e6ccf23e authored by Florian Fischer's avatar Florian Fischer
Browse files

cleanup bench.py

parent bded5bf9
......@@ -7,11 +7,12 @@ import common_targets
from falsesharing import falsesharing
from loop import loop
# from bench_conprod import conprod
from mysql import mysql
from dj_trace import dj_trace
from larson import larson
benchmarks = [loop, mysql, falsesharing, dj_trace, larson]
parser = argparse.ArgumentParser(description="benchmark memory allocators")
parser.add_argument("-s", "--save", help="save benchmark results to disk", action='store_true')
parser.add_argument("-l", "--load", help="load benchmark results from disk", action='store_true')
......@@ -22,9 +23,6 @@ parser.add_argument("-ns", "--nosum", help="don't produce plots", action='store_
parser.add_argument("-sd", "--summarydir", help="directory where all plots and the summary go", type=str)
parser.add_argument("-a", "--analyse", help="collect allocation sizes", action='store_true')
benchmarks = [loop, mysql, falsesharing, dj_trace, larson]
def main():
args = parser.parse_args()
print (args)
......
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