tests: more stable roundtrip.py.

This commit is contained in:
David Wilson 2018-07-29 19:24:01 -07:00
parent af2ded663d
commit a05835c46e
1 changed files with 1 additions and 1 deletions

View File

@ -12,6 +12,6 @@ def do_nothing():
def main(router): def main(router):
f = router.fork() f = router.fork()
t0 = time.time() t0 = time.time()
for x in xrange(1000): for x in xrange(10000):
f.call(do_nothing) f.call(do_nothing)
print '++', int(1e6 * ((time.time() - t0) / (1.0+x))), 'usec' print '++', int(1e6 * ((time.time() - t0) / (1.0+x))), 'usec'