rails/rails — pull request #8486 by mshytikov (2012-12-11 11:05:25+00:00)
Title: attempt to fix slow  runner name method

From http://gusiev.com/slides/rails_contribution/static/#29

Attempt to solve the https://github.com/rails/rails/pull/6351#commitcomment-1404989

Using https://gist.github.com/2710476

```ruby
Running benchmark with current working tree
Checkout HEAD^
Running benchmark with HEAD^
Checkout to previous HEAD again

user system total real
-----------------------------------------------set_callback
After patch: 0.030000 0.010000 0.040000 ( 0.028517)
Before patch: 0.040000 0.000000 0.040000 ( 0.046620)
Improvement: 39%

-------------------------------------------define_callbacks
After patch: 0.030000 0.000000 0.030000 ( 0.036352)
Before patch: 0.030000 0.000000 0.030000 ( 0.036225)

----------------------------------------------run_callbacks
After patch: 0.010000 0.000000 0.010000 ( 0.006695)
Before patch: 0.010000 0.000000 0.010000 ( 0.011243)
Improvement: 40%

----------------------------------------------skip_callback
After patch: 0.040000 0.000000 0.040000 ( 0.045709)
Before patch: 0.060000 0.000000 0.060000 ( 0.054022)
Improvement: 15%
```