speedscope icon indicating copy to clipboard operation
speedscope copied to clipboard

Java Flight Recorder support

Open vasi opened this issue 2 years ago • 2 comments

Would y'all be interested if I implemented JFR support? There's not really any official format documentation, but there's some basic docs here and an Apache licensed Java parser to steal from.

Unfortunately it's a binary format, but there's good support for binary reads in JS nowadays, so it ought to be possible.

Another complication is that JFR files can support multiple concurrent profiles, for example both an alloc and CPU profile in the same file. It's not clear what we should do given such a file.

vasi avatar Jun 20 '22 03:06 vasi

Reading the JFR format in JS is considerable effort and possibly leads to maintenance issues.

parttimenerd avatar Sep 08 '22 11:09 parttimenerd

A converter with basic support can be found here: https://github.com/parttimenerd/jfrtofp

@jlfwong is there the possibility to add this to your converter pages?

parttimenerd avatar Sep 08 '22 11:09 parttimenerd