py-spy 0.4.2

Sampling profiler for Python programs
Documentation
1
2
3
4
5
6
7
8
9
#!/env/bin/python
# -*- coding: utf-8 -*-
import time

def function1(seconds):
    time.sleep(seconds)

if __name__ == "__main__":
    function1(100)