Sha256: 9c9b094dacf69338857f1b832de24872cbc27a722d0ff701926e87cfb00b7169

Contents?: true

Size: 354 Bytes

Versions: 30

Compression:

Stored size: 354 Bytes

Contents

from test_support import verbose
import timing

r = range(100000)
if verbose:
    print 'starting...'
timing.start()
for i in r:
    pass
timing.finish()
if verbose:
    print 'finished'

secs = timing.seconds()
milli = timing.milli()
micro = timing.micro()

if verbose:
    print 'seconds:', secs
    print 'milli  :', milli
    print 'micro  :', micro

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
rubyfox-server-2.12.1.0 lib/rubyfox/server/data/lib/Lib/test/test_timing.py
rubyfox-server-2.11.1.0 lib/rubyfox/server/data/lib/Lib/test/test_timing.py
rubyfox-server-2.9.2.0 lib/rubyfox/server/data/lib/Lib/test/test_timing.py
rubyfox-server-2.9.1.0 lib/rubyfox/server/data/lib/Lib/test/test_timing.py
rubyfox-server-2.9.0.0 lib/rubyfox/server/data/lib/Lib/test/test_timing.py
rubyfox-server-2.8.4.0 lib/rubyfox/server/data/lib/Lib/test/test_timing.py
rubyfox-server-2.8.0.1 lib/rubyfox/server/data/lib/Lib/test/test_timing.py
rubyfox-server-2.8.0.0 lib/rubyfox/server/data/lib/Lib/test/test_timing.py
rubyfox-server-2.3.0.0 lib/rubyfox/server/data/lib/Lib/test/test_timing.py
rubyfox-server-2.3.0.pre2 lib/rubyfox/server/data/lib/Lib/test/test_timing.py