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.jlSVG example is here:
https://github.com/GlenHertz/ProfileView.jl/blob/master/readme_images/profile.svgThings left to do:
- Properly hook up with IJulia (that is why I started writing this... I haven't even looked at this yet)
- General code cleanup
- Update docs
- ?
Thanks,
Glen