flameprof
flameprof copied to clipboard
Flamegraph generator for cProfile stats
when i try to render the svg file by myself, i got exception like this ``` File "profmiddleware.py", line 37, in post_prof flameprof.render(pr.stats, flameprof.get_out(svg_file_name)) File "/home/cpys/anaconda3/lib/python3.8/site-packages/flameprof.py", line 305, in render...
Hi, I'd like to tell people about flameprof in talk I'm giving, but it's failing for me: ``` $ python -m cProfile -o out.prof benchmarks/serialization.py $ flameprof out.prof > prof.svg...
## Problem On systems where `python` points to `python2` but `pip` points to `pip3`, `bin/flameprof` breaks because it runs python2 but the flameprof library is installed into python2's `site-packages`. ##...
small bars are invisible, and cannot be seen even zoomed in.
# Description `pip install flameprof` requires that `python` be the correct version of the executable. For those of us running python3 where `python` still points to python2, this causes a...
In this PR I added the support for windows.
If you ever have a little free time— I'd like to use the SVG-generating code not for `pstats`, but for my own datastructures (see https://github.com/itamarst/eliot/issues/220). My original thought was to...
When using cprofile as a CLI, there can be lots of intermediate or ancillary noise in the profile. The ability to filter stacks become very useful then. It's doable using...
I get recursion errors when converting some large profiles with flameprof. This change avoids these RecursionErrors by using iteration with an explicit stack to compute block counts. Could get a...
test.py:15:test_recursion 22.93% (6 0 4.222224027306071e-05 0.2833811705771583) I understand that the last two numbers may be tottime and cumtime corresponding to the profile, and the first number may be ncalls, so...