Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ profiler
Method
profiler
Lib/test/test_free_threading/test_monitoring.py:312–313 ·
view source on GitHub ↗
(frame, event, arg)
Source
from the content-addressed store, hash-verified
310
traces = []
311
312
def
profiler(frame, event, arg):
313
traces.append((frame.f_code.co_name, event, arg))
314
315
def
a(x, y):
316
return
b(x, y)
Callers
4
run
Method · 0.80
runctx
Method · 0.80
run
Method · 0.80
runctx
Method · 0.80
Calls
1
append
Method · 0.45
Tested by
no test coverage detected