diff options
| author | Giampaolo Rodola <g.rodola@gmail.com> | 2019-02-27 07:26:22 -0800 |
|---|---|---|
| committer | Giampaolo Rodola <g.rodola@gmail.com> | 2019-02-27 07:26:22 -0800 |
| commit | eb05ea9bd7464232bbc81a8a9bfb902717d77b43 (patch) | |
| tree | d8734f7d38695627cd332d64b575d4bfad02f0e3 /scripts/internal/winmake.py | |
| parent | 7d0810ef4fc3e17b59207f9d5b7aabe131f4c6f1 (diff) | |
| download | psutil-eb05ea9bd7464232bbc81a8a9bfb902717d77b43.tar.gz | |
appveyor: run print scripts after tests
Diffstat (limited to 'scripts/internal/winmake.py')
| -rwxr-xr-x | scripts/internal/winmake.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/scripts/internal/winmake.py b/scripts/internal/winmake.py index 1f4fa8f2..cd26c67e 100755 --- a/scripts/internal/winmake.py +++ b/scripts/internal/winmake.py @@ -472,24 +472,27 @@ def install_git_hooks(): @cmd def bench_oneshot(): """Benchmarks for oneshot() ctx manager (see #799).""" - install() sh("%s -Wa scripts\\internal\\bench_oneshot.py" % PYTHON) @cmd def bench_oneshot_2(): """Same as above but using perf module (supposed to be more precise).""" - install() sh("%s -Wa scripts\\internal\\bench_oneshot_2.py" % PYTHON) @cmd def print_access_denied(): - """Benchmarks for oneshot() ctx manager (see #799).""" - install() + """Print AD exceptions raised by all Process methods.""" sh("%s -Wa scripts\\internal\\print_access_denied.py" % PYTHON) +@cmd +def print_api_speed(): + """Benchmark all API calls.""" + sh("%s -Wa scripts\\internal\\print_api_speed.py" % PYTHON) + + def set_python(s): global PYTHON if os.path.isabs(s): |
