034 RR Benchmarking and Profiling

by Charles Max Wood on December 24, 2011

Panel

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

{ 6 comments… read them below or add one }

Steve December 24, 2011 at 5:46 am

Am I crazy or is the podcast missing?

Reply

Viktar December 24, 2011 at 7:01 am

Well, I can’t see the podcast too.

Reply

Dave December 24, 2011 at 7:12 am

I can’t find it. :( Guess we’ll just have to wait til Christmas.

Reply

Alex December 30, 2011 at 2:58 pm

Guess even after christmas it won’t work. Tried via iTunes and no success there either, download stops at 17MB. Merry Christmas and Happy New Year fellow Rogue listeners and Rogues

Reply

Mike December 24, 2011 at 10:54 am

Perhaps they’re still benchmarking it…

Reply

luke December 28, 2011 at 6:22 am

I cried a little when you talked about stuck in java build times. I am a front end dev (with a love for ruby) working for a java shop, and I have to build to compile/build in my front-end js. Oh to be working for a ruby shop. @lukeholder

Reply

Leave a Comment

{ 2 trackbacks }

Previous post:

Next post: