Benchmarks
suggest changeIntroduction
Writing performance benchmarks in Java is not as simple as subtracting two System.currentTimeMillis() readings. Use a proper harness, such as JMH, so warmup, dead-code elimination, and timing noise do not invalidate the result.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents