rkern / line_profiler

(OLD REPO) Line-by-line profiling for Python - Current repo ->
https://github.com/pyutils/line_profiler
Other
3.6k stars 256 forks source link

-o output_path flag position order #167

Open dizcza opened 4 years ago

dizcza commented 4 years ago

kernprof -o works well only of -o output.lprof comes before -l /path/to/script.py.

kernprof -l examples/granger_example.py -o output.lprof Saves stat file to granger_example.py.lprof. Expected to save it to output.lprof.