MCPcopy Create free account
hub / github.com/ActiveState/code / test_method

Method test_method

recipes/Python/465831_profiling_threads/recipe-465831.py:80–81  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

78 self.test_method()
79 test_function()
80 def test_method(self):
81 sleep(random.random() / 10)
82
83profile_on()
84#######################

Callers 1

runMethod · 0.95

Calls 2

sleepFunction · 0.85
randomMethod · 0.45

Tested by

no test coverage detected