Author: Ronan Lamy <[email protected]>
Branch: 
Changeset: r96800:32dd16507042
Date: 2019-06-12 15:24 +0100
http://bitbucket.org/pypy/pypy/changeset/32dd16507042/

Log:    Update warning: perf is now called pyperf

diff --git a/lib-python/2.7/timeit.py b/lib-python/2.7/timeit.py
--- a/lib-python/2.7/timeit.py
+++ b/lib-python/2.7/timeit.py
@@ -308,10 +308,10 @@
             return 0
     setup = "\n".join(setup) or "pass"
 
-    print "WARNING: timeit is a very unreliable tool. use perf or something 
else for real measurements"
+    print "WARNING: timeit is a very unreliable tool. use pyperf or something 
else for real measurements"
     executable = os.path.basename(sys.executable)
-    print "%s -m pip install perf" % executable
-    print "%s -m perf timeit %s" % (
+    print "%s -m pip install pyperf" % executable
+    print "%s -m pyperf timeit %s" % (
         executable,
         " ".join([(arg if arg.startswith("-") else repr(arg))
                         for arg in origargs]), )
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to