[pypy-commit] benchmarks py3: krakatau will not support python3 for decompile
mattip
pypy.commits at gmail.com
Thu Jan 2 08:19:41 EST 2020
Author: Matti Picus <matti.picus at gmail.com>
Branch: py3
Changeset: r395:5d8beda666d5
Date: 2020-01-01 11:22 +0200
http://bitbucket.org/pypy/benchmarks/changeset/5d8beda666d5/
Log: krakatau will not support python3 for decompile
diff --git a/benchmarks.py b/benchmarks.py
--- a/benchmarks.py
+++ b/benchmarks.py
@@ -1,6 +1,7 @@
from __future__ import division, print_function
import os
+import sys
import logging
from unladen_swallow.perf import SimpleBenchmark, MeasureGeneric
from unladen_swallow.perf import RawResult, SimpleComparisonResult, avg, ResultError
@@ -92,11 +93,16 @@
'spectral-norm', 'chaos', 'telco', 'go', 'pyflate-fast',
'raytrace-simple', 'crypto_pyaes', 'bm_mako', 'bm_chameleon',
'json_bench', 'pidigits', 'hexiom2', 'eparse', 'deltablue',
- 'bm_dulwich_log', 'bm_krakatau', 'bm_mdp', 'pypy_interp',
+ 'bm_dulwich_log', 'bm_mdp', 'pypy_interp',
'sqlitesynth', 'pyxl_bench', 'nqueens', 'sqlalchemy_declarative',
'sqlalchemy_imperative']:
_register_new_bm(name, name, globals(), **opts.get(name, {}))
+if sys.version_info[0] < 3:
+ # does not support python 3
+ for name in ['bm_krakatau',]:
+ _register_new_bm(name, name, globals(), **opts.get(name, {}))
+
for name in ['names', 'iteration', 'tcp', 'pb', ]:#'web']:#, 'accepts']:
if name == 'web':
iteration_scaling = 0.2
More information about the pypy-commit
mailing list