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

Method testBlock

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

Source from the content-addressed store, hash-verified

35 self.endTimer("slotSets ")
36
37 def testBlock(self):
38 self.beginTimer()
39 for i in xrange(oneMillion/8):
40 self.foo(); self.foo(); self.foo(); self.foo();
41 self.foo(); self.foo(); self.foo(); self.foo()
42 self.endTimer("blockActivations ")
43
44 def testInstantiations(self):
45 self.beginTimer()

Callers 1

testMethod · 0.95

Calls 4

beginTimerMethod · 0.95
fooMethod · 0.95
endTimerMethod · 0.95
xrangeFunction · 0.85

Tested by

no test coverage detected