~/talk

On Benchmarking With Ruby

Talkat ArrrrCamp 2013 · 2013-10-03..10-04· [ruby, testing]
slides:none on file

Benchmarks claim stable numbers by measuring repeatedly, using Perfer to store runs and compare commits, and choosing clocks carefully — prefer process CPU time or monotonic clocks over wall time. MRI 2.1 shows a generational GC speedup that cuts GC overhead dramatically. Use iterative runs, report the median with median absolute deviation for error, and require minimum run lengths; an example result is about 140000 iterations/sec with ~2.5% error.

AI-written summary · about

  1. 0:00Start
  2. 1:18Motivation
  3. 2:26Factors
  4. 2:53JIT: JRuby
  5. 4:17Memory, GC and loading code
  6. 5:05GC in 2.1
  7. 6:10Context
  8. 8:41What time, which clock?
  9. 14:22Statistics
  10. 15:04Distribution and outliers
  11. 15:34Central tendency: mean, median
  12. 16:10Measures of dispersion
  13. 17:19The standard library
  14. 17:59MRI benchmark/driver rb and the suite
  15. 19:18Perfer vocabulary
  16. 20:12Measurement API iterations
  17. 20:39Measurement API input size
  18. 21:09Measurement CLI
  19. 21:50Measurement: metadata recorded
  20. 22:40Reporting
  21. 22:50Comparison
  22. 23:21Visualization
  23. 24:03Current status
  24. 25:17Big time
  25. 26:30Questions
~/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.