jmh-basics: JMH tutorial module (dead-code elimination, Blackhole, constant folding, warmup/forks, state scopes, -prof gc)
Eight benchmark/demo classes, a deterministic test suite, and 12 captured output files generated by scripts/run-all.sh on JDK 25.0.5 (Temurin) with JMH 1.37. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b6Fj2JNt7dRev4pZPe
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
Naive System.nanoTime() timing, 20000000 iterations per round
|
||||
|
||||
round discarded (ns/op) kept (ns/op)
|
||||
1 0.688 9.170
|
||||
2 0.457 8.751
|
||||
3 0.000 7.994
|
||||
4 0.000 7.583
|
||||
5 0.000 7.502
|
||||
6 0.000 7.419
|
||||
|
||||
checksum (ignore): 1.897349195729284E9
|
||||
Reference in New Issue
Block a user