Show More
@@ -563,7 +563,6 b' def _timer(' | |||||
563 | ): |
|
563 | ): | |
564 | gc.collect() |
|
564 | gc.collect() | |
565 | results = [] |
|
565 | results = [] | |
566 | begin = util.timer() |
|
|||
567 | count = 0 |
|
566 | count = 0 | |
568 | if profiler is None: |
|
567 | if profiler is None: | |
569 | profiler = lambda: NOOPCTX |
|
568 | profiler = lambda: NOOPCTX | |
@@ -572,6 +571,7 b' def _timer(' | |||||
572 | setup() |
|
571 | setup() | |
573 | with context(): |
|
572 | with context(): | |
574 | func() |
|
573 | func() | |
|
574 | begin = util.timer() | |||
575 | keepgoing = True |
|
575 | keepgoing = True | |
576 | while keepgoing: |
|
576 | while keepgoing: | |
577 | if count in profiled_runs: |
|
577 | if count in profiled_runs: |
General Comments 0
You need to be logged in to leave comments.
Login now