~/talk

Benchmarking Ruby

Talkat RubyConf 2014 · 2014-11-17..11-19· [ruby]
github:davy
slides:none on file

Concrete results trump topic blur: shows Benchmark IPS reporting 3.2 million vs 41.5k iterations/sec, introduces Benchmark Big O to chart scaling (at cost ~10x longer runs), and ships a gem-backed case study using terraformer to compare convex Hull implementations where Jarvis March explodes on circle inputs while monotone chain stays flat. Includes tips on avoiding mutated inputs, dup cost controls, and validating algorithmic behavior with unit checks so benchmarks reflect real performance.

AI-written summary · about

  1. 0:00Start
  2. 1:31How
  3. 3:05Your code
  4. 7:59Pros
  5. 12:10Cons
  6. 30:59Terraformer
  7. 37:25Conclusion
  8. 38:21When to use
~/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.