pprofile
pprofile copied to clipboard
Line-granularity, thread-aware deterministic and statistic pure-python profiler
My aim with pprofile was to perform statistic profiling of the execution of `generate_imitation_data.py`, excluding all files but two: `imitation_generation/generation.py` and `imitation_generation/tutor.py`. I ran the command: `pprofile -o profile_out.txt --statistic...
wildly incorrect relative performance of generator expression vs map, off by 2 orders of magnitude
Wall time testing gives relative time spent in generator expression, list comprehension, map, and loop doing the same job to be roughly 1.3 : 1.6 : 1 : 1.8, while...
Hi, I am trying to profile my script by writing a script that takes the module and profiles it. But unlike command line argument (where I can use exclude syspath...
Hi there, thanks for pprofile! Today, in an attemp to speed up some nasty linear algebra calculations I have under the hood of my scripts, I created 4 different Conda...
Hey! I needed a way to access the profiler data programmatically; to do this I've implemented the `get_stats` method, and any other changes there are to reduce code-duplication. The next...
Hello, thanks for pprofile! I got this exception while trying to run a script, and apparently this is being raised just before (or at the beginning) of my script. Also,...
I often have programs that do extensive setup and then call a particular function just once that dominates the runtime, so I would like to profile this single function and...
I find the statistical profiler to be rather useful for line profiling, but I think there are some ways in which the UI can be improved for the statistical profiler:...
Fixes https://github.com/vpelletier/pprofile/issues/50
Versioneer 0.18 uses `configparser.SafeConfigParser()`, which was removed in Python 3.12 (https://github.com/python/cpython/pull/92503) I have tentatively upgraded the vendored file to versioneer==0.19, which allows me to install on 3.12 without issue, however...