programming-examples/python/_Basics/Determine profiling of Python programs.py
2019-11-15 12:59:38 +01:00

4 lines
73 B
Python

import cProfile
def sum():
print(1+2)
cProfile.run('sum()')