I got excited but then read that it's some kind of cloud-based web application thing. Is there something like this (show memory use and call times for a Python process) that just runs on my computer to help me profile a long-running Python process?
Show HN: StackImpact – Python Production Profiler: CPU, Memory, Exceptions
21–30 of 72 posts
Re: Show HN: StackImpact – Python Production Profiler: CPU, Memory, Exceptions
#22I've been thinking about building my own using Prometheus as collector/visualiser. Time hasn't been on my side, but eventually...
Re: Show HN: StackImpact – Python Production Profiler: CPU, Memory, Exceptions
#23Re: Show HN: StackImpact – Python Production Profiler: CPU, Memory, Exceptions
#24Do you have the methodology and data that you used to obtain this figure? Because to be honest I'm quite dubious, especially for an app which is CPU bound.
Re: Show HN: StackImpact – Python Production Profiler: CPU, Memory, Exceptions
#25I got excited but then read that it's some kind of cloud-based web application thing. Is there something like this (show memory use and call times for a Python process) that just runs on my computer to help me profile a long-running Python process?
pyrasite (http://pyrasite.com/) will let you inject code into a process. This can be used to add monitoring of private internal state etc (if you have no other options).
If you want to have locally hosted graphs then grafana and influx are my current tools of choice.
It is going to be more work than swiping a credit card, but not a crazy amount.
Re: Show HN: StackImpact – Python Production Profiler: CPU, Memory, Exceptions
#26Re: Show HN: StackImpact – Python Production Profiler: CPU, Memory, Exceptions
#27Now that this has come up, can somebody explain me how do profilers work? My main concern being regarding the overhead to the process it adds.
[1] https://www.youtube.com/watch?v=NdObDUbLjdg [2] https://www.python.org/dev/peps/pep-0523/
Re: Show HN: StackImpact – Python Production Profiler: CPU, Memory, Exceptions
#28Are there any plans for porting this to Android? For example by using Kivy?
Current agent and the dashboard are designed for long-running applications, such as servers or scripts. There are no plans for end user devices yet. But because the agent is pure Python (it just relies on some system specific functionality, such as signalling), it could work with a few tweaks.
Re: Show HN: StackImpact – Python Production Profiler: CPU, Memory, Exceptions
#29> The agent overhead is measured to be less than 1% for applications under high load. Do you have the methodology and data that you used to obtain this figure? Because to be honest I'm quite dubious, especially for an app which is CPU bound.
Re: Show HN: StackImpact – Python Production Profiler: CPU, Memory, Exceptions
#30> The agent overhead is measured to be less than 1% for applications under high load. Do you have the methodology and data that you used to obtain this figure? Because to be honest I'm quite dubious, especially for an app which is CPU bound.
We are measuring both, individual profiler overhead when active (printed by the agent in debug mode) and total CPU and memory overhead of the app running over long periods of time with and without agent.