-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vmprof ideas - what is next? #127
Comments
We have two new pull requests:
|
|
I/O statistics would be pretty handy, and I wouldn't mind giving a hand there - but if we're going to be adding lots of possibly optional information, the file format itself could stand being a bit more generic, kind of like PNG works. In particular it would be useful if starting with 0.5.0, all future versions could just skip over the data they do not understand, without being forced to upgrade. Runtime information just telling us if profiling is enabled and how it's going seems... marginally useful.
The latter part is somewhat important in that currently this is the main piece of information that's not available until profiling is over. If we could get at (portions of) it earlier, online / runtime profiling just reduces to reading the profiling file as it is being written. |
So, I started some initial work on being able to read the profiling file as it is being written, and it's actually not too bad - the only thing we'd need to have very decent vmprof integration while the program is running would be to have a way to ask the process to write the symbols during runtime, and that shouldn't be hard. (I'll start a dedicated PR for this once my other PR is resolved and I know what to rebase onto. ;) ) |
Binary distribution of vmprof for people who don't/can't have visual studio installed on their computer? |
There are several ideas, this issue summarizes them and encourages discussion:
python -m vmprof.stat -p <pid>
prints if profiling is enabled, how many bytes have been saved, ...The text was updated successfully, but these errors were encountered: