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:
2026-11-08 18:31:11 +00:00
co-authored by Claude Sonnet 5.5
parent f6237d4117
commit db129fb1ce
27 changed files with 2018 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
Setup/TearDown counts for 1 warmup + 2 measurement iterations:
@Setup(Level.Trial) : 1
@Setup(Level.Iteration) : 3
@Setup(Level.Invocation) : 1039152 (one per benchmark call)
benchmark method calls : 1039152
@TearDown(Level.Invocation) : 1039152
@TearDown(Level.Iteration) : 3
@TearDown(Level.Trial) : 1