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.19.2.0 lib/rubyfox/server/data/lib/Lib/test/test_timing.py
rubyfox-server-2.17.3.2 lib/rubyfox/server/data/lib/Lib/test/test_timing.py
rubyfox-server-2.17.3.1 lib/rubyfox/server/data/lib/Lib/test/test_timing.py
rubyfox-server-2.17.3.0 lib/rubyfox/server/data/lib/Lib/test/test_timing.py
rubyfox-server-2.16.3.2 lib/rubyfox/server/data/lib/Lib/test/test_timing.py
rubyfox-server-2.16.3.1 lib/rubyfox/server/data/lib/Lib/test/test_timing.py
rubyfox-server-2.16.0.4 lib/rubyfox/server/data/lib/Lib/test/test_timing.py
rubyfox-server-2.16.0.3 lib/rubyfox/server/data/lib/Lib/test/test_timing.py
rubyfox-server-2.16.0.2 lib/rubyfox/server/data/lib/Lib/test/test_timing.py
rubyfox-server-2.16.0.1 lib/rubyfox/server/data/lib/Lib/test/test_timing.py
rubyfox-server-2.16.0.0 lib/rubyfox/server/data/lib/Lib/test/test_timing.py
rubyfox-server-2.13.7.3 lib/rubyfox/server/data/lib/Lib/test/test_timing.py
rubyfox-server-2.13.6.2 lib/rubyfox/server/data/lib/Lib/test/test_timing.py
rubyfox-server-2.13.6.1 lib/rubyfox/server/data/lib/Lib/test/test_timing.py
rubyfox-server-2.13.5.1 lib/rubyfox/server/data/lib/Lib/test/test_timing.py
rubyfox-server-2.13.4.1 lib/rubyfox/server/data/lib/Lib/test/test_timing.py
rubyfox-server-2.13.3.1 lib/rubyfox/server/data/lib/Lib/test/test_timing.py
rubyfox-server-2.12.5.1 lib/rubyfox/server/data/lib/Lib/test/test_timing.py
rubyfox-server-2.12.5.0 lib/rubyfox/server/data/lib/Lib/test/test_timing.py
rubyfox-server-2.12.4.0 lib/rubyfox/server/data/lib/Lib/test/test_timing.py