MCPcopy Create free account
hub / github.com/IoLanguage/io / testLocals

Method testLocals

samples/speed/speed.py:51–57  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

49 self.endTimer("instantiations ")
50
51 def testLocals(self):
52 self.beginTimer()
53 v = 1
54 for i in xrange(oneMillion/8):
55 v; v; v; v;
56 v; v; v; v;
57 self.endTimer("localAccesses ")
58
59 def testSetLocals(self):
60 self.beginTimer()

Callers 1

testMethod · 0.95

Calls 3

beginTimerMethod · 0.95
endTimerMethod · 0.95
xrangeFunction · 0.85

Tested by

no test coverage detected