diff options
| author | Giampaolo Rodola <g.rodola@gmail.com> | 2016-10-28 01:27:20 +0200 |
|---|---|---|
| committer | Giampaolo Rodola <g.rodola@gmail.com> | 2016-10-28 01:27:20 +0200 |
| commit | 3efb6bf9e5acf3cf62df2854fd910c637a7209f9 (patch) | |
| tree | 11a0b0cf8560c44f5bc5f9f670bd636c37fd2244 /scripts | |
| parent | 7818a81c9e44ec9b4d102f7157c7f437a4b22cc0 (diff) | |
| download | psutil-3efb6bf9e5acf3cf62df2854fd910c637a7209f9.tar.gz | |
#799 / win: use oneshot() around num_threads() and num_ctx_switches(); speedup from 1.2x to 1.8xoneshot-win
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/internal/bench_oneshot.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/internal/bench_oneshot.py b/scripts/internal/bench_oneshot.py index ad96ef5a..5ab2266e 100755 --- a/scripts/internal/bench_oneshot.py +++ b/scripts/internal/bench_oneshot.py @@ -95,7 +95,9 @@ elif psutil.WINDOWS: 'ionice', 'memory_info', 'nice', + 'num_ctx_switches', 'num_handles', + 'num_threads', ] names = sorted(set(names)) |
