Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
83
profile_on()
84
#######################
Callers
1
run
Method · 0.95
Calls
2
sleep
Function · 0.85
random
Method · 0.45
Tested by
no test coverage detected