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

Truncated profiles falsely report warning about profiling time being too short.

Open fake-name opened this issue 7 years ago • 0 comments

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).

fake-name avatar Jul 12 '18 05:07 fake-name