~/talk

Performance of sequence, stream and collection on the JVM

TalkinRussianat Joker 2024 · 2024-10-09..10-16· [java]
links:none on file
links:none on file
slides:none on file

The talk measures and compares performance of Kotlin Sequence, Java Stream, and plain Collections on the JVM. It explains how Kotlin Sequence and Java Stream work under the hood, shows when each approach gives performance benefits (and how large those benefits are), and examines JVM-related nuances and surprising performance patterns using a JIT profiler to explain them.

AI-written summary · about

  1. 0:00Introduction
  2. 1:09Goal and structure
  3. 4:27Collections vs lazy ops
  4. 7:15Performance measurement method
  5. 9:23Single ops results
  6. 12:02Distinct and sorted results
  7. 17:43Take and drop results
  8. 21:19Grouping results
  9. 24:13Multiple ops results
  10. 28:10Anomaly causes
  11. 28:53HotSpot VM analysis
  12. 31:51Method compilation issues
  13. 34:01Inlining impact
  14. 36:11Metamorphism problem
  15. 38:51SingleMethod solution
  16. 40:02Results across JVMs
  17. 42:30Android vs JVM differences
  18. 42:52Summary and recommendations
~/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.