Name: Anonymous 2013-04-16 13:07
After years of complaining about Ruby's method caching behaviour, I finally decided to instrument it a couple of weeks ago. I found that for our application, the method cache was being invalidated at least 20 times per request, and that around 10% of our request profile was spent performing method resolution. For our application, the cost of Ruby's global method cache invalidation was extremely high.
http://jamesgolick.com/2013/4/14/mris-method-caches.html
http://jamesgolick.com/2013/4/14/mris-method-caches.html