Show More
@@ -20,6 +20,7 b'' | |||||
20 |
|
20 | |||
21 | from __future__ import absolute_import |
|
21 | from __future__ import absolute_import | |
22 | import functools |
|
22 | import functools | |
|
23 | import gc | |||
23 | import os |
|
24 | import os | |
24 | import random |
|
25 | import random | |
25 | import sys |
|
26 | import sys | |
@@ -189,6 +190,7 b' def stub_timer(fm, func, title=None):' | |||||
189 | func() |
|
190 | func() | |
190 |
|
191 | |||
191 | def _timer(fm, func, title=None): |
|
192 | def _timer(fm, func, title=None): | |
|
193 | gc.collect() | |||
192 | results = [] |
|
194 | results = [] | |
193 | begin = util.timer() |
|
195 | begin = util.timer() | |
194 | count = 0 |
|
196 | count = 0 |
General Comments 0
You need to be logged in to leave comments.
Login now