vmprof-python
vmprof-python copied to clipboard
Truncated profiles falsely report warning about profiling time being too short.
Basically, if you have issues that result in the profile data file being truncated or closed without allowing vmprof to tear down, vmprofshow reports:
WARNING: The profiling completed in less than 1 seconds. Please run your programs longer!
In this case, I have ~45 thousand samples with a sample rate of 100hz, so that is clearly nonsensical, but it nevertheless is quite confusing (it's also what prompted https://github.com/vmprof/vmprof-python/issues/180).