MethodTimer This is a benchmark utility for Ruby scripts. Other than the commonly used set_trace_func, which is too slow, it can also trace methods by automatically inserting tracer code.