Dynamically adjust method cache size at runtime
I am not sure exactly how we can pull this off, but this very much fits into our mission of making Ruby fast
The method cache is not an ideal size for large applications, an easy 2-3% performance can be gained by increasing it.
Problem is this is very much counter to Koichi's mission of no knobs needed.
I would like to brainstorm any ideas for dynamically growing the method cache automatically for applications with a high miss rate.
I totally understand this is VERY hard cause the act of measuring can slow stuff down. But perhaps if it only measured for 0.1 seconds per minute and dynamically adjusted it would not be too bad?