Plugins - BenchmarkForRails

StarAdd to favorites

Rails' own benchmarks don't tell the whole story. The completion time, used to calculate requests-per-second, doesn't account for controller filters or session management, among other things. And the DB time doesn't include the cost of query construction, which is ofter more expensive than the query itself.

BenchmarkForRails addresses that. It also provides a non-invasive way of adding your own benchmarks:

> BenchmarkForRails.watch("processing action", ActionController::Base, :perform_action)

Note: The standard benchmarks provided by this plugin are geared towards Rails 2.0. Previous versions of Rails have some messy code barring this non-invasive technique from being effective.

Lance Ivy

http://code.google.com/p/benchmarkforrails

http://benchmarkforrails.googlecode.com/svn/trunk

Rails' (MIT)

  • Currently 5.0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Statistics and Logs

Tags

Comments

Add a comment

Search Plugins

Query syntax

Plugins by Category

Sponsors

Rails Kits: Get Code. Get Moving.
Recruiting software

Have a comment?