python-flamegraph icon indicating copy to clipboard operation
python-flamegraph copied to clipboard

profile Python program run as a module

Open AndreLouisCaron opened this issue 8 years ago • 1 comments

Hi there!

Thanks for sharing this, I'm really looking forward to putting your tool to good work :-)

I got here looking for a way to profile pip install because it's much slower on some machines than others. I was hoping to profile it using flamegraph pip install ..., but I take it that flamegraph expects its first argument to be a file.

The coverage tool supports this (ref for inspiration). Would you be willing to accept a contribution that adds something similar?

AndreLouisCaron avatar Nov 18 '17 19:11 AndreLouisCaron

Absolutely. Sounds like a great addition.

evanhempel avatar Nov 29 '17 02:11 evanhempel