~/talk

How difficult can it be to write efficient code?

Talkat Voxxed Days Zürich 2025 · on Tuesday, 2025-03-25· [java]
slides:none on file

Shows how to find and fix real Java hotspots using AsyncProfiler and flame graphs to locate cost, then JMH microbenchmarks to measure fixes. Demonstrates a case where naive StringBuilder made things slower, a specialized equals/hashCode object cuts allocations and yields about a 50% throughput improvement, and startup latency drops from ~25 ms to ~17 ms after string‑matching redesign. Live demos include JVM sampling, JFR export, iterative rebuilds and surprising numbers that turn opinion into measurable results.

AI-written summary · about

  1. 0:00Introduction to performance
  2. 2:13Premature optimization myth
  3. 3:37Measuring code performance
  4. 6:13Introduction to async profiler
  5. 9:13Practical code optimization
  6. 13:42Using JMH for benchmarks
  7. 17:08Benchmarking and refining solutions
  8. 23:15Analyzing optimization results
  9. 27:06Is optimization worth it?
  10. 28:53Real-world configuration matching
  11. 37:46Maintaining performance over time
  12. 40:36The billion row challenge
  13. 41:57Conclusion and key takeaways
~/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.