vlsi opened a new pull request, #5960: URL: https://github.com/apache/jmeter/pull/5960
## Description This enables creating benchmark for tracking performance of low-level code. The way to add a benchmark is to add src/jmh folder (side by side with src/main). Then benchmark jar can be generated with ./gradlew jmhJar, or the benchmark can be executed from IDE if there's a corresponding main method. See ResultCollectorBenchmark ## Motivation and Context We need measure performance for optimizations we make. For instance, improvements to properties, synchronization, etc should be validated. Here's a sample output for `ResultCollectorBenchmark`: ``` Benchmark (success) Mode Cnt Score Error Units ResultCollectorBenchmark.isSampleWanted true avgt 5 7,039 ± 0,160 ns/op ResultCollectorBenchmark.isSampleWanted:·gc.alloc.rate true avgt 5 ≈ 10⁻³ MB/sec ResultCollectorBenchmark.isSampleWanted:·gc.alloc.rate.norm true avgt 5 ≈ 10⁻⁶ B/op ResultCollectorBenchmark.isSampleWanted:·gc.count true avgt 5 ≈ 0 counts ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@jmeter.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org