MCPcopy Index your code
hub / github.com/python/cpython / helper1

Function helper1

Lib/test/profilee.py:73–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

71 TICKS += 1
72
73def helper1():
74 # 4 calls
75 # 30 ticks total: 29 ticks local, 1 tick in subfunctions
76 global TICKS
77 TICKS += 10
78 hasattr(C(), "foo") # 1
79 TICKS += 19
80 lst = []
81 lst.append(42) # 0
82 sys.exception() # 0
83
84def helper2_indirect():
85 helper2() # 50

Callers 1

helperFunction · 0.85

Calls 3

CClass · 0.70
appendMethod · 0.45
exceptionMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…