summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/internal/bench_oneshot_2.py4
-rwxr-xr-xscripts/internal/winmake.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/scripts/internal/bench_oneshot_2.py b/scripts/internal/bench_oneshot_2.py
index a25d1806..becf930c 100644
--- a/scripts/internal/bench_oneshot_2.py
+++ b/scripts/internal/bench_oneshot_2.py
@@ -11,7 +11,7 @@ supposed to be more precise.
import sys
-import perf # requires "pip install perf"
+import pyperf # requires "pip install pyperf"
import psutil
from bench_oneshot import names
@@ -37,7 +37,7 @@ def add_cmdline_args(cmd, args):
def main():
- runner = perf.Runner()
+ runner = pyperf.Runner()
args = runner.parse_args()
if not args.worker:
diff --git a/scripts/internal/winmake.py b/scripts/internal/winmake.py
index 75b4c348..116809ca 100755
--- a/scripts/internal/winmake.py
+++ b/scripts/internal/winmake.py
@@ -39,8 +39,8 @@ DEPS = [
"flake8",
"nose",
"pdbpp",
- "perf",
"pip",
+ "pyperf",
"pypiwin32==219" if sys.version_info[:2] <= (3, 4) else "pypiwin32",
"pyreadline",
"setuptools",