py-spy 0.4.2

Sampling profiler for Python programs
Documentation
1
2
3
4
5
6
7
8
def recurse(x):
    if x == 0:
        return
    recurse(x-1)


while True:
    recurse(20)