Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you do performance testing in Ruby webapps?

I've been looking at ways people test their apps in order decide where to do caching or apply some extra engineering effort, and so far httperf and a simple sesslog have been quite helpful.

What tools and tricks did you apply on your projects?

like image 902
Carlos Villela Avatar asked Sep 17 '08 23:09

Carlos Villela


1 Answers

I use httperf for a high level view of performance.

Rails has a performance script built in, that uses the ruby-prof gem to analyse calls deep within the Rails stack. There is an awesome Railscast on Request Profiling using this technique.

NewRelic have some seriously cool analysis tools that give near real-time data. They just made it a "Lite" version available for free.

like image 186
Toby Hede Avatar answered Oct 18 '22 21:10

Toby Hede