diff options
| author | Georg Brandl <georg@python.org> | 2009-09-01 07:34:27 +0000 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2009-09-01 07:34:27 +0000 |
| commit | c9a5a0e1650b264bdf75e63ecdb577a46adbfd4c (patch) | |
| tree | 3114451bc01e7afc34d3d84369a0b77ba5d332ae /Tools/pybench | |
| parent | a4c05a26a72d3613d9ffbdcc0985a9ec49060b73 (diff) | |
| download | cpython-git-c9a5a0e1650b264bdf75e63ecdb577a46adbfd4c.tar.gz | |
#6814: remove traces of xrange().
Diffstat (limited to 'Tools/pybench')
| -rw-r--r-- | Tools/pybench/README | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Tools/pybench/README b/Tools/pybench/README index b015124719..e33d064700 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. |
