~/talk

How Not to Do Benchmarking

TalkinItalianat Voxxed Days Milano 2019 · on Saturday, 2019-04-13· [testing, java]
links:none on file
slides:none on file

Shows common mistakes when benchmarking JVM code and why modern JVM optimizations can make naïve measurements misleading. Uses negative examples to demonstrate what not to do and teaches correct benchmarking practices, mentioning tools such as JMH and focusing on pitfalls and how to avoid them.

AI-written summary · about

  1. 0:00Benchmarking mistakes
  2. 3:13JVM optimization pitfalls
  3. 4:37Failure as learning
  4. 7:49Bad benchmark impact
  5. 9:13Benchmark types overview
  6. 10:59JMH for reliable benchmarks
  7. 14:55Trust only numbers
  8. 16:45Volatile vs. LazySet speed
  9. 20:41Simulate workload with JMH
  10. 24:34Black Hole CPU explained
  11. 28:49Modern CPU underestimation
  12. 33:08Cost model flaws
  13. 36:37Performance engineering gap
  14. 38:09Measure always, guess never
  15. 39:07Benchmark forking and hardware
  16. 40:35Benchmark production code
  17. 43:45Regression tests and noise
  18. 46:21Statistics and confidence
  19. 47:11Production benchmarking challenges
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.