[Python-checkins] benchmarks: benchmarks is deprecated, please use performance
victor.stinner
python-checkins at python.org
Tue Oct 18 10:38:24 EDT 2016
https://hg.python.org/benchmarks/rev/198c43ca2f5b
changeset: 240:198c43ca2f5b
user: Victor Stinner <victor.stinner at gmail.com>
date: Tue Oct 18 16:38:18 2016 +0200
summary:
benchmarks is deprecated, please use performance
files:
README.txt | 32 ++++++++++++++++++++++++++++++++
perf.py | 15 ++++++++++++++-
2 files changed, 46 insertions(+), 1 deletions(-)
diff --git a/README.txt b/README.txt
--- a/README.txt
+++ b/README.txt
@@ -1,3 +1,35 @@
++++++++++++
+Deprecated!
++++++++++++
+
+The old benchmarks project is now deprecated, please move to the new shiny
+Python benchmark suite:
+
+ https://github.com/python/performance
+ https://pypi.python.org/pypi/performance
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
The Grand Unified Python Benchmark Suite
########################################
diff --git a/perf.py b/perf.py
--- a/perf.py
+++ b/perf.py
@@ -66,8 +66,9 @@
import subprocess
import sys
import tempfile
+import textwrap
+import threading
import time
-import threading
try:
import http.client as httpclient
except:
@@ -2543,6 +2544,18 @@
def main(argv, bench_funcs=BENCH_FUNCS, bench_groups=BENCH_GROUPS):
+ print(textwrap.dedent('''
+ +++++++++++
+ Deprecated!
+ +++++++++++
+
+ The old benchmarks project is now deprecated, please move
+ to the new shiny Python benchmark suite:
+
+ https://github.com/python/performance
+ https://pypi.python.org/pypi/performance
+
+ ''').lstrip())
bench_groups = CreateBenchGroups(bench_funcs, bench_groups)
# Calculate the lengths of expanded benchmark names for all groups
--
Repository URL: https://hg.python.org/benchmarks
More information about the Python-checkins
mailing list