diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2016-10-27 20:11:57 +0200 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2016-10-27 20:11:57 +0200 |
commit | 7f51f0074b6d727a01fea0290ed0988dd51ad288 (patch) | |
tree | 04f14414bb2e6627458b6ec4d7a27aa98c662b65 /scripts | |
parent | 861bf2fa8d269c8ac5fb4df161c88b92adb86b31 (diff) | |
download | psutil-7f51f0074b6d727a01fea0290ed0988dd51ad288.tar.gz |
bench script: add psutil ver
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/internal/bench_oneshot.py | 4 | ||||
-rw-r--r-- | scripts/internal/bench_oneshot_2.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/scripts/internal/bench_oneshot.py b/scripts/internal/bench_oneshot.py index ba179d4c..0a9490f9 100755 --- a/scripts/internal/bench_oneshot.py +++ b/scripts/internal/bench_oneshot.py @@ -109,8 +109,8 @@ setup = textwrap.dedent(""" def main(): - print("%s methods involved on platform %r (%s iterations):" % ( - len(names), sys.platform, ITERATIONS)) + print("%s methods involved on platform %r (%s iterations, psutil %s):" % ( + len(names), sys.platform, ITERATIONS, psutil.__version__)) for name in sorted(names): print(" " + name) diff --git a/scripts/internal/bench_oneshot_2.py b/scripts/internal/bench_oneshot_2.py index c751a585..a25d1806 100644 --- a/scripts/internal/bench_oneshot_2.py +++ b/scripts/internal/bench_oneshot_2.py @@ -41,8 +41,8 @@ def main(): args = runner.parse_args() if not args.worker: - print("%s methods involved on platform %r:" % ( - len(names), sys.platform)) + print("%s methods involved on platform %r (psutil %s):" % ( + len(names), sys.platform, psutil.__version__)) for name in sorted(names): print(" " + name) |