Tuesday, June 24th, 2008

Clientperf: Simple Client-Side Rails Performance

Category: Performance, Rails

<>p>Eric Falcao has released Clientperf, a simple client-side Rails performance plugin.

The tool came about as Eric is giving a talk on “14 rules of high-performance websites in the typical rails mongrel/nginx stack, the main idea being to focus on some of the important implementation details when it comes to client-side performance optimization.”

As I was planning, I realized that there was no simple as in the we’re-all-spoiled-with-rails simple way to measure client download times in production. Now, there is clientperf. It’s just a start, but decent enough to benchmark the actual client performance impact of any optimizations you make.

How it works

It injects javascript into the page that takes a timestamp at the top of the page and at the bottom of the page. Once the browser is done downloading, evaluating and rendering all assets, clientperf makes one last image request to your server with the start time, end time and the URL. Piece of cake.

Rails Client Performance

Related Content:

Posted by Dion Almaer at 7:08 am
1 Comment

+++--
3.8 rating from 13 votes

1 Comment »

Comments feed TrackBack URI

Definitely interesting. Finally a way to really measure the performance as a visitor.

Comment by maximeguilbot — June 24, 2008

Leave a comment

You must be logged in to post a comment.