Closed certik closed 6 years ago
No, the .lprof
files from the line-profiler are not the same thing as the .prof
files. The latter are from the regular function profiler, not the line-profiler.
kernprof also works with cProfile, its third-party incarnation lsprof, or the pure-Python profile module depending on what is available.
This works:
But this fails:
It should work according to the documentation:
I also tried
pyprof2calltree
and it gives the same exception.I am using Python 3.6 with Conda 4.5.0 on Ubuntu 16.04.