@profile
$ kernprof -l x.py
$ python3 -m line_profiler x.py.lprof > prof
kernprof -l test.py
kernprof -l python test.py