~/talk

Collections.compare:JDK, Eclipse, Guava, Apache

Talkat Oracle OpenWorld 2017 · 2017-10-01..10-05· [java]

Compares JDK 8, Eclipse Collections, Guava and Apache Commons by implementing a deck-of-cards domain and measuring real code: creating an immutable list, building an immutable list multimap, counting with bags/multisets and dealing hands. Uses JMH for throughput and JOL-like object sizing for memory. Finds JDK grouping runs fastest because it avoids copying into immutable structures, Eclipse and Guava use noticeably less memory for the deck and Eclipse’s primitive-backed bag hits ~408 bytes for counts, all code and benchmarks are published.

AI-written summary · about

  1. 0:00Intro
  2. 0:23About the Speakers
  3. 4:21Java Collections Framework
  4. 9:01Collection Frameworks Timeline
  5. 10:39Use Case - Deck of Cards
  6. 12:44A Deck of Cards - Only the Types
  7. 14:11Shared Code - Cartesian Product
  8. 15:16Eclipse Collections - Cartesian Product
  9. 19:19Performance Test - ImmutableList
  10. 20:33Memory Test - ImmutableList
  11. 21:26JDK Collections - "ImmutableList"
  12. 22:32Apache Collections - "ImmutableList"
  13. 22:55Eclipse Collections - ImmutableList
  14. 24:03Performance Test - groupBy
  15. 25:56JDK Collections - Group By
  16. 26:57Apache Collections - Group By
  17. 29:43Eclipse Collections - Group By
  18. 31:06Performance Test - Deck of Cards
  19. 32:20Memory Test - Deck of Cards
  20. 34:20JDK Collections - Count By
  21. 35:12Apache Collections - Count By
  22. 35:58Eclipse Collections - Count By
  23. 38:49JDK Collections - Deal Hands
  24. 39:44Eclipse Collections - Deal Hands
  25. 41:44Collection Framework Comparison
~/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.