Tags

Posts tagged with: performance

ajax analysis api apple atom automator backpack browsers camping cheatsheets code console editors ergonomics gems google helipad hpricot internationalisation javascript lies mac optimisation patterns performance personal php plugins productivity programming prototype rails rapidrails rsi rss ruby server snippets standards sysadmin terminal testing textile textmate theory tips tools vim workshops writing xslt

Getting started with rails optimisation

Posted on Thu 4 May, 2006

I’ve been working hard to improve the performance of Tiktrac, just because it’s been in beta for a few months and I’m really sharpening it up to finally stump up the cash for some serious hardware to run it (and other) applications on.

When I need to improve performance in a rails app, I start off with a few basic questions:

  1. How many queries are being generated on complex pages?
  2. What pages are the slowest?
  3. What partials are the slowest?

At this point, I start loading slow pages and watching the logs. The logs will show you interesting data like this:

Rendered sheet/_she…

Continue reading → | Tagsrails, performance, optimisation, programming