Activate your free membership today | Log-in

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:

  • Hot skills: Ruby on Rails
    Skills for IT professionals: Ruby on...
  • Hot skills: Ruby on Rails 2.0
    Rails is not the only framework for Ruby, and Ruby is not the only language which uses Rails. Rails has also been ported to Javascript by a team at...
  • Web services with Ruby on Rails
    The Ruby on Rails framework has added REST support, making it a Web service alternative to SOAP stack...
  • Client-side Java strikes back
    This tip gives an overview of client-side Java and the market landscape, then discusses how/why desktop Java is becoming an extremely attractive...
  • Client-side Java strikes back
    This tip gives an overview of client-side Java and the market landscape, then discusses how/why desktop Java is becoming an extremely attractive...

Posted by Dion Almaer at 7:08 am
1 Comment

++++-
4.1 rating from 9 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.