[issue19064] can't run py3 benchmarks
Antoine Pitrou
report at bugs.python.org
Sat Sep 21 23:05:42 CEST 2013
New submission from Antoine Pitrou:
After the latest changes I don't understand how I'm supposed to run translated Python 3 benchmarks:
$ ./perf.py -fb mako_v2 ../opt/python ../x32opt/python
Running mako_v2...
INFO:root:Running ../x32opt/python ./performance/bm_mako_v2.py -n 50
Traceback (most recent call last):
File "./perf.py", line 2460, in <module>
main(sys.argv[1:])
File "./perf.py", line 2416, in main
options)))
File "./perf.py", line 1528, in BM_mako_v2
return SimpleBenchmark(MeasureMakoV2, *args, **kwargs)
File "./perf.py", line 714, in SimpleBenchmark
*args, **kwargs)
File "./perf.py", line 1524, in MeasureMakoV2
iteration_scaling=10)
File "./perf.py", line 1113, in MeasureGeneric
inherit_env=options.inherit_env)
File "./perf.py", line 1071, in CallAndCaptureOutput
raise RuntimeError("Benchmark died: " + stderr.decode('latin1'))
RuntimeError: Benchmark died: Traceback (most recent call last):
File "./performance/bm_mako_v2.py", line 26, in <module>
from mako.template import Template
File "/home/antoine/cpython/benchmarks/lib/Mako-0.7.3/mako/template.py", line 622
exec code in module.__dict__, module.__dict__
^
SyntaxError: invalid syntax
----------
assignee: brett.cannon
components: Benchmarks
messages: 198224
nosy: brett.cannon, pitrou
priority: normal
severity: normal
status: open
title: can't run py3 benchmarks
versions: 3rd party
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19064>
_______________________________________
More information about the Python-bugs-list
mailing list