-
Notifications
You must be signed in to change notification settings - Fork 387
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
Assertion Error assert abs(call_ratio*total - partial) <= 0.001*call_ratio*total #7
Comments
Please provide the input users.001928ms.1439448963.prof input, e.g., via http://pastebin.com/ |
File size is > 1mb but here's the few chunk:
|
In that case please compress it and upload to google-drive dropbox, etc.. If you rather not share it publicly, email it to jose dot r dot fonseca at gmail dot com. I'm afraid that, unless I can repro it, there's nothing I can do. But even if you do, I don't have high hopes for this: these are python functions. That is, this callgrind file is not actually generated by valgrind, but rather produced by a different tool (django). So my guess is that django is producing bad / inconsistent data. Given it's python, there's probably some way to dump the python profiler data. You probably will have more luck with it. |
I've just published that up here: https://github.com/ArkeologeN/callgrind-output |
The graph is a huge cycle. Instead of the call graph being a DAG, it's one massive cycle -- ie, there's practically no function that doesn't call itself, mostly due to magic like overriding getattribute, etc. And gprof2dot, as it currently stands, can't produce any meaningful graph out of it. I have some ideas to enhance gprof2dot to integrate time based on call-stacks, rather than branches along a graph. But until that happens there's nothing I can do. |
I've a
.prof
file exported with the flag--kcachegrind
while runningdjango-extention - runprofileserver
. The file looks like this:users.001928ms.1439448963.prof
Based upon the help, I found that I've to format it well first and then export
.dot
file to make thepng
.Here's the what I ran for formatting and generating
.dot
file.The error I got:
Any luck / help about it? Why
gprof2dot
is crashing?The text was updated successfully, but these errors were encountered: