Tag: Dtrace

Thumb_290872_5170

DTrace and Ruby on Rails with Leopard/Snow Leopard

4 Nov 2009 at 1:46pm

Having just launched a major Ruby on Rails site, there has been a period during which we’ve had to improve performance dramatically. While most of the benefits have been had by using a custom Rails middleware class there have been a number of actions that aren’t cacheable so I’ve needed to profile the request and then optimise some internals.

Fortunately starting with Leopard, Apple has included a patched version of Ruby that has DTrace probes support.