-
Notifications
You must be signed in to change notification settings - Fork 153
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
Some imports in Python 3 break flame graph rendering #60
Comments
How long does your script run without profiling ? Can you run it just with
Yep. that's right.
Can you elaborate? Thanks! |
Can vprof open chromium or does it have to be open already?
Thank you for the fast response :) Edit: Oh and it didn't feel like profiling was slowing down the script big way but that could just be me not noticing it. Might time it later if you are interested. |
|
Ok now the new tab opens but the loading animation is the only thing I get. Edit: Ok tried all three options alone and for the flame graph I just get one single chunk that says maybe I should add that the script is very memory hungry. 20+ GB are easily possible |
Thanks!
This is interesting. Can you make screenshot (if possible, of course)?
Seems that your script generates a lot of data 😄 As I've written above, handling such amounts of data in EDIT: Is your script Python 2 compatible? If yes, can you run it under Python 2? Thanks! |
This looks interesting.
If your script is Python 2 compatible then you can install |
well it looks like it doesn't like python 2 :/ |
Can you share some details about script you run (libraries you use and so on)? It also might be the reason you get such results. |
https://gitlab.com/sims1253/bachelor_thesis/blob/master/evaluate.py In essence i get the git show for a repo via subprocess, for a number of commits, parse the diffs and rank files/lines by the number of fixes they received. See Bugspots for basic idea. imports:
|
Thanks, I'll take a look. |
Seems that importing |
Looks like it's fixed in 0.34. |
I ran
vprof -c cmh -s "evaluate.py -o 7496a0471ba8259926b36028b79b5a0e62ecf03c -d 510 -f 260 -s 25"
and no results were presented in any way.If I understand correctly there should appear new tabs in my browser but that didn't happen.
Also:
I had to pass the hash without single quotation marks as vprof would put another pair around them. Is this intended?
Platform:
python3.5:
Chromium Version 53.0.2785.116 (64-bit)
I am running Antergos linux
The text was updated successfully, but these errors were encountered: