Interactive SVG flame graphs

238 views
Skip to first unread message

Glen Hertz

unread,
Oct 9, 2013, 11:37:10 PM10/9/13
to julia...@googlegroups.com
Hi,

I've been working on adding interactive SVG flame graphs for analyzing profiling to ProfileView (with Tim's kind guidance).  The code is still rough but if people are interested in helping out or providing feedback that would be great.  The basic usage is:

@profile myfunc()
ProfileView.view(Tk=true) # for Tk output

# For SVG:
open
("profile.svg", "w") do f
   
ProfileView.view(svgout=f)
end

I'm currently coloring by self time (red) and total time (green) which is OK but I think it could be improved.  The code is here:

https://github.com/GlenHertz/ProfileView.jl

SVG example is here:
https://github.com/GlenHertz/ProfileView.jl/blob/master/readme_images/profile.svg

Things left to do:
  1. Properly hook up with IJulia (that is why I started writing this... I haven't even looked at this yet)
  2. General code cleanup
  3. Update docs
  4. ?

Thanks,

Glen


Waldir Pimenta

unread,
Oct 10, 2013, 1:53:27 PM10/10/13
to julia...@googlegroups.com
On Thursday, October 10, 2013 4:37:10 AM UTC+1, Glen Hertz wrote:
Reply all
Reply to author
Forward
0 new messages