JMH: Writing Better Benchmarks

From WikiEducator
Jump to: navigation, search


JMH: Writing Better Benchmarks
Convenor: Dmitry Vyazelenko, Heinz Kabutz
Participants:
Summary:
JMH: Writing Better Benchmarks - JCrete2014


Free content media streamed from Wikimedia Commons
Cc-sa.svg

Download:
Download: .ogg

Dmitry gave a hands-on demonstration of JMH. A comparison of ArrayList and LinkedList showed ArrayList to be 3 times faster than LinkedList which cannot be true.

Recommendations:
  • Do not take the results of microbenchmarking tools blindly; think before.