The News: Ruby on Rails performance is dominated by garbage collection. We present a set of patches to greatly improve Rails performance and show how to profile memory usage to get further performance gains.
What’s at Stake: Rails is slow for many uses and did not lend itself well to optimization. Significant performance gains could only be achieved at application level at large development cost.
- 5x potential performance gains;
- easy way to identify whether GC is a bottleneck;
- deterministic process to fix memory bottlenecks;
- set of canned patches to solve the biggest problems;
- you can help
Nimble Method: Garbage Collection is Why Ruby on Rails is Slow: Patches to Improve Performance 5x; Memory Profiling
Sat, 02 Feb 2008 05:30:00 GMT
Okay, a couple of weeks ago I installed Ruby so that I could run Metasploit. Installing Ruby was a challenge since I needed to install several dependencies so that I could install RubyGems. Fortunately Simon had the answer. When I cranked up the GUI version of Metasploit, the GUI seemed slow and the console messages showed Ruby to be busier than I thought it should be. I hadn’t asked it do anything yet. Maybe this will help! Then again maybe if I upgrade to the latest version of Metasploit(3.1) will help.