benchmarks: 7c7dc1c4d8d4 (original) (raw)
Mercurial > benchmarks
changeset 139:7c7dc1c4d8d4 2n3
Issue #10397: fix --track-memory on py3k. Patch by Bobby Impollonia.
Antoine Pitrou solipsis@pitrou.net | |
---|---|
date | Fri, 12 Nov 2010 21:48:10 +0100 |
parents | 44be2d44a2f1 |
children | 147a7ffccb03 89ec3b0eb315 |
files | perf.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-)[+] [-] perf.py 2 |
line wrap: on
line diff
--- a/perf.py +++ b/perf.py @@ -1551,7 +1551,7 @@ def MeasureStartup(python, cmd_opts, num # Without this, Python may start and exit before the memory sampler # thread has time to work. We can't just do 'time.sleep(x)', because # under -S, 'import time' fails.
work = "for _ in xrange(200000): pass"[](#l1.7)