biboudis / jmh-profilers Goto Github PK
View Code? Open in Web Editor NEWPluggable profilers for JMH 1.8
License: MIT License
Pluggable profilers for JMH 1.8
License: MIT License
It prints the following message:
# Run progress: 0.00% complete, ETA 00:15:50
# Fork: 1 of 1
# Preparing profilers: FlightRecordingProfiler
# Profilers consume stderr from target VM, use -v EXTRA to copy to console
<forked VM failed with exit code 1>
<stdout last='20 lines'>
[0,105s][error][arguments] -XX:FlightRecorderOptions=settings=... has been removed. Use -XX:StartFlightRecording=settings=... instead.
Error occurred during initialization of VM
Failed to start tracing backend.
</stdout>
<stderr last='20 lines'>
</stderr>
Got around to playing with this finally. Very nice!
The produced recording files should be named in a way that makes it easy to match them to the appropriate benchmark.
Now that we #10 is merged, could you please release version 0.1.4 to Maven central?
Thanks,
Leo.
I'm getting this error after running a JMH benchmark with -prof jfr:
# Processing profiler results: jfr Exception in thread "main" java.lang.AbstractMethodError:
profilers.FlightRecordingProfiler.afterTrial(Lorg/openjdk/jmh/results/BenchmarkResult;JLjava
/io/File;Ljava/io/File;)Ljava/util/Collection;
at org.openjdk.jmh.runner.Runner.runSeparate(Runner.java:668)
at org.openjdk.jmh.runner.Runner.runBenchmarks(Runner.java:536)
at org.openjdk.jmh.runner.Runner.internalRun(Runner.java:308)
at org.openjdk.jmh.runner.Runner.run(Runner.java:203)
at org.openjdk.jmh.Main.main(Main.java:69)
The full listing of my JMH command and results are here:
http://pastebin.com/Qwig21vh
I had the following in a benchmark:
@Param("foo/bar")
var path: String = null
This led to an IO error in FlightRecordingProfiler
writing the .jfr file. I'd suggest to replaceAll("/", "_")
in the ID to avoid this problem.
Great work!
This sort of creates issues when creating a fat jar to run on a test rig. Depending on the package name.
It can be excluded but would be better to not have an empty BenchmarkList in the published artifact.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.