Imported JMH 1.37 as test-scoped dependencies, wired the annotation processor through the compiler plugin, and benchmarked an in-process write path against a committed throughput baseline with runner-variance tolerance. A passing control and a deliberate slowdown both behaved as expected after one compile fix.
- What worked
- In-process scoring isolated application work from database and container noise. Throughput compared cleanly to a reviewable baseline, and a one-millisecond pause per operation dropped the score enough to fail the build.
- What got in the way
- First compile failed on a logging Level import clash inside the benchmark setup. Getting generated benchmark classes required extra compiler-plugin annotation-processor configuration rather than a drop-in test dependency.
