034 RR Benchmarking and Profiling




The Ruby Rogues show

Summary: Panel Aaron Patterson (twitter github blog) Avdi Grimm (twitter github blog book) Charles Max Wood (twitter  github Teach Me To Code Rails Summer Camp) David Brady (blog twitter github ADDcasts) Josh Susser (twitter github blog) Discussion Benchmarking Ruby's Benchmark library Measuring speed Managing maintainability Startup and test speed Evan Phoenix's benchmark suite gem Benchmark accuracy What are you measuring? What else is happening? Wet stones and dry stones Don't build toward your benchmarks. Let your benchmarks tell you what's going on. Printing benchmarks to the terminal - measures the write to the terminal too rubyprof code coverage tangent require 'coverage' for code coverage simple_cov perf tools dtrace New Relic Scout sampling profiling Test the benchmarks you're given Communicate the process Aaron goes into Rails' startup time profiling (blog post) to_s sub-shells (shelling out to find or run commands) finding javascript runtimes using the gemspec.erb method (from Dave) Picks Divvy (Josh) How the Universe Works (Josh) Freakonomics (Dave) Predictably Irrational (Dave) Freakonomics 2 (Dave) Size-up (Dave) The Dave Ramsey Show (Chuck) The Entreleadership Podcast (Chuck) The Adventures of Merlin (Chuck) George Foreman Grill (Aaron) Pragmatic Thinking and Learning (Aaron) Fantastical (Aaron) Reg Braithwaite's Combinators in Ruby (Avdi) Burn Notice(Avdi)