[issue18899] make pystone.py Py3 compatible in benchmark suite

2016-08-30 Thread Berker Peksag

Changes by Berker Peksag :


--
resolution:  -> out of date
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18899] make pystone.py Py3 compatible in benchmark suite

2016-08-30 Thread STINNER Victor

STINNER Victor added the comment:

> Oh, pystone... I didn't know we had included that particular horror in the 
> benchmark suite :-)

pystone was removed from the new https://github.com/python/performance 
benchmark suite.

I suggest to close this issue as outdated.

--
nosy: +haypo

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18899] make pystone.py Py3 compatible in benchmark suite

2013-09-01 Thread Stefan Behnel

New submission from Stefan Behnel:

diff --git a/performance/pystone.py b/performance/pystone.py
--- a/performance/pystone.py
+++ b/performance/pystone.py
@@ -59,9 +59,9 @@
 
 def main(loops=LOOPS):
 benchtime, stones = pystones(loops)
-print Pystone(%s) time for %d passes = %g % \
-  (__version__, loops, benchtime)
-print This machine benchmarks at %g pystones/second % stones
+print(Pystone(%s) time for %d passes = %g %
+  (__version__, loops, benchtime))
+print(This machine benchmarks at %g pystones/second % stones)
 
 
 def pystones(loops=LOOPS):
@@ -72,7 +72,7 @@
 Char1Glob = '\0'
 Char2Glob = '\0'
 Array1Glob = [0]*51
-Array2Glob = map(lambda x: x[:], [Array1Glob]*51)
+Array2Glob = list(map(lambda x: x[:], [Array1Glob]*51))
 PtrGlb = None
 PtrGlbNext = None

--
components: Benchmarks
messages: 196723
nosy: scoder
priority: normal
severity: normal
status: open
title: make pystone.py Py3 compatible in benchmark suite
type: behavior

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18899
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18899] make pystone.py Py3 compatible in benchmark suite

2013-09-01 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Oh, pystone... I didn't know we had included that particular horror in the 
benchmark suite :-)

--
nosy: +brett.cannon, pitrou
stage:  - patch review
versions: +3rd party

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18899
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com