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

Method test

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

Source from the content-addressed store, hash-verified

65 self.endTimer("localSets ")
66
67 def test(self):
68 print("")
69 self.testLocals()
70 self.testSetLocals()
71 print("")
72 self.testSlot()
73 self.testSetSlot()
74 print("")
75 self.testBlock()
76 self.testInstantiations()
77
78 import sys
79 print("Python version := \"%i.%i.%i %s %i\"" % tuple(sys.version_info))
80 print("")
81 print("// values in millions per second")
82 print("")
83
84
85Tester().test()

Callers 1

speed.pyFile · 0.45

Calls 6

testLocalsMethod · 0.95
testSetLocalsMethod · 0.95
testSlotMethod · 0.95
testSetSlotMethod · 0.95
testBlockMethod · 0.95
testInstantiationsMethod · 0.95

Tested by

no test coverage detected