A good fundamental rule for software development is to avoid premature optimization. Don’t guess what code ought to be optimized to make the whole system faster. Get it working first, then measure to identify where the bottlenecks really are.
Joyent’s DTrace-enabling patches for Ruby give Rails developers much better tools for measuring exactly where the bottlenecks are in a live web app.
★ Tuesday, 8 May 2007