This repository was archived by the owner on Jun 9, 2020. It is now read-only.
This repository was archived by the owner on Jun 9, 2020. It is now read-only.
no support for profiling code at top level of script/module #26
Open
Description
I write lots of exploratory data processing scripts with a lot of code at the top level outside any function, and I desperately want to profile this code with line_profiler. I came up with a sort of a monkey patch solution to allow profiling top-level code which I've put into a gist here:
https://gist.github.com/jmuhlich/b6e349c5d80ec3897a77
I would be willing to work up a pull request if it would be considered.
Metadata
Metadata
Assignees
Labels
No labels