8000 GitHub - lucasamoroso/jfrtofp: JFR to Firefox Profiler converter
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

lucasamoroso/jfrtofp

 
 

Repository files navigation

jfrtofp

Maven Package

JFR to Firefox Profiler converter for JDK 11+.

This is in alpha state, it does not work with really large JFR files and might still have bugs.

It works best with this custom Firefox Profiler fork which includes many of our own PRs which are not yet upstream (and might be less stable).

Basic Usage

We recommend using the jfrtofp-server which includes a custom Firefox Profiler distribution with the converter and a webserver which serves both.

If you really want to use it directly, download the latest jfrtofp-all.jar release and simply pass the JFR file as its first argument:

  java -jar jfrtofp-all.jar samples/small_profile.jfr

This will produce a samples/small_profile.json.gz file, you can customize the output file by passing the --output <file> option.

There is the possibility to produce Speedscope files as well, by passing the "--mode speedscope" option:

  java -jar jfrtofp-all.jar samples/small_profile.jfr --mode speedscope

This will produce a samples/small_profile.json.gz file. But this is considered experimental and not the main focus of this project.

Run from Source

  git clone https://github.com/parttimenerd/jfrtofp.git
  cd jfrtofp
  ./gradlew run --args="samples/small_profile.jfr"

Usage as a Library

dependencies {
    implementation 'com.github.parttimenerd:jfrtofp:0.0.2-SNAPSHOT'
}

repositories {
    maven {
        url = "https://s01.oss.sonatype.org/content/repositories/snapshots/"
    }
}

License

MIT

About

JFR to Firefox Profiler converter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 99.8%
  • Shell 0.2%
0