summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2016-10-27 00:04:44 +0200
committerGiampaolo Rodola <g.rodola@gmail.com>2016-10-27 00:04:44 +0200
commitbd0bbddc3b504297a8701e9a8b4c27d46e83321d (patch)
tree28b209f984e3d295b0ea0276d3a795f1e4d9fddb
parentc8814c422e3c9c0138d2f79e13e6100cbee84dd1 (diff)
downloadpsutil-bd0bbddc3b504297a8701e9a8b4c27d46e83321d.tar.gz
try to adjust perf
-rw-r--r--scripts/internal/bench_oneshot_2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/internal/bench_oneshot_2.py b/scripts/internal/bench_oneshot_2.py
index f61aca99..61399724 100644
--- a/scripts/internal/bench_oneshot_2.py
+++ b/scripts/internal/bench_oneshot_2.py
@@ -49,9 +49,9 @@ def main():
print(" " + name)
if args.benchmark == 'normal':
- runner.bench_func(call_normal, funs)
+ runner.bench_func("normal", call_normal, funs)
else:
- runner.bench_func(call_oneshot, funs)
+ runner.bench_func("oneshot", call_oneshot, funs)
main()