summaryrefslogtreecommitdiffstats
path: root/Tools/pybench
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-09-01 07:34:27 (GMT)
committerGeorg Brandl <georg@python.org>2009-09-01 07:34:27 (GMT)
commitc9a5a0e1650b264bdf75e63ecdb577a46adbfd4c (patch)
tree3114451bc01e7afc34d3d84369a0b77ba5d332ae /Tools/pybench
parenta4c05a26a72d3613d9ffbdcc0985a9ec49060b73 (diff)
downloadcpython-c9a5a0e1650b264bdf75e63ecdb577a46adbfd4c.zip
cpython-c9a5a0e1650b264bdf75e63ecdb577a46adbfd4c.tar.gz
cpython-c9a5a0e1650b264bdf75e63ecdb577a46adbfd4c.tar.bz2
#6814: remove traces of xrange().
Diffstat (limited to 'Tools/pybench')
-rw-r--r--Tools/pybench/README7
1 files changed, 2 insertions, 5 deletions
diff --git a/Tools/pybench/README b/Tools/pybench/README
index b015124..e33d064 100644
--- a/Tools/pybench/README
+++ b/Tools/pybench/README
@@ -260,10 +260,7 @@ class IntegerCounting(Test):
# Run test rounds
#
- # NOTE: Use xrange() for all test loops unless you want to face
- # a 20MB process !
- #
- for i in xrange(self.rounds):
+ for i in range(self.rounds):
# Repeat the operations per round to raise the run-time
# per operation significantly above the noise level of the
@@ -305,7 +302,7 @@ class IntegerCounting(Test):
a = 1
# Run test rounds (without actually doing any operation)
- for i in xrange(self.rounds):
+ for i in range(self.rounds):
# Skip the actual execution of the operations, since we
# only want to measure the test's administration overhead.