### JMH Benchmark Results: State Fixtures (JMHSample_05) Source: https://github.com/artyushov/idea-jmh-plugin/blob/develop/research/results.md This snippet provides throughput benchmark results for JMHSample_05_StateFixtures, demonstrating the performance of 'measureRight' and 'measureWrong' methods when executed via IntelliJ IDEA and the command line. The table details sample counts, scores, and the relative difference. ```Text Benchmark Mode Samples Score-Idea Score-Term (MAX - MIN)/MAX Units measureRight thrpt 25 341193314.735 343132773.161 0.005 ops/s measureWrong thrpt 25 3008081495.542 3077264376.682 0.022 ops/s ``` -------------------------------- ### JMH Benchmark Results: State Management (JMHSample_03) Source: https://github.com/artyushov/idea-jmh-plugin/blob/develop/research/results.md This snippet presents throughput benchmark results for JMHSample_03_States, illustrating the performance of shared versus unshared state management when executed via IntelliJ IDEA and the command line. The table provides scores and the relative difference. ```Text Benchmark Mode Samples Score-Idea Score-Term (MAX - MIN)/MAX Units measureShared thrpt 25 644535828.753 647525817.305 0.004 ops/s measureUnshared thrpt 25 1276415578.342 1296907288.469 0.015 ops/s ``` -------------------------------- ### JMH Benchmark Results: Different Modes (JMHSample_02) Source: https://github.com/artyushov/idea-jmh-plugin/blob/develop/research/results.md This snippet displays the benchmark results for JMHSample_02_BenchmarkModes, comparing scores from IntelliJ IDEA and command line execution across various JMH benchmark modes such as throughput (thrpt), average time (avgt), sample, and single shot (ss). The table includes samples, scores, and the relative difference between IDEA and terminal results. ```Text Benchmark Mode Samples Score-Idea Score-Term (MAX - MIN)/MAX Units measureAll thrpt 5 0.000 0.000 - ops/us measureMultiple thrpt 5 0.000 0.000 - ops/us measureThroughput thrpt 5 9.969 9.926 0.004 ops/s measureAll avgt 5 100201.473 100864.473 0.006 us/op measureAvgTime avgt 5 100228.545 100779.818 0.005 us/op measureMultiple avgt 5 100257.764 100841.600 0.005 us/op measureAll sample 55 100086.579 100622.783 0.005 us/op measureMultiple sample 55 100117.560 100722.874 0.006 us/op measureSamples sample 55 100057.982 100684.744 0.006 us/op measureAll ss 5 100190.600 101086.000 0.008 us measureMultiple ss 5 100101.800 101094.600 0.009 us measureSingleShot ss 5 100184.000 100536.200 0.003 us ``` -------------------------------- ### JMH Benchmark Results: Default State (JMHSample_04) Source: https://github.com/artyushov/idea-jmh-plugin/blob/develop/research/results.md This snippet shows throughput benchmark results for JMHSample_04_DefaultState, comparing the performance when run through IntelliJ IDEA and from the command line. The table includes sample count, scores, and the relative difference. ```Text Benchmark Mode Samples Score-Idea Score-Term (MAX - MIN)/MAX Units measure thrpt 25 341919594.645 344548681.629 0.007 ops/s ``` -------------------------------- ### Resolving JMH Lock Acquisition Errors on Windows Source: https://github.com/artyushov/idea-jmh-plugin/blob/develop/README.md This snippet addresses a common RunnerException encountered on Windows when JMH fails to acquire its lock, typically due to an undefined temporary directory. It provides the error message and two methods to resolve it: setting TMP/TEMP environment variables or specifying the java.io.tmpdir JVM argument. ```Console ERROR: org.openjdk.jmh.runner.RunnerException: ERROR: Exception while trying to acquire the JMH lock (C:\WINDOWS\/jmh.lock): ``` ```Shell -Djava.io.tmpdir=C:\temp ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.