This patch adds support for --profile.html which prints the --profile.graph output but in HTML format.
Commits on this branch: https://github.com/ketan/jruby/compare/jruby:master...ketan:html-profiler
Wow, I can't believe we missed this for several months.
The commit still applies perfectly. My only complaint about it is that the output still includes the header information above it. Perhaps this can be improved to dump just the HTML content? Perhaps that's tricky since the formatters run outside of the per-thread output...
I have no problem pulling the commit to JRuby master so you can rebase from there more easily.
Actually, I'm just going to resolve this, since your commit is in and it does work. I'd love to see some improvements here, if you have time and interest, but it's in and it's working!