# \[ANN\] BenchmarkForRails v0.1 (aka "it exists")

**URL:** <https://www.ruby-forum.com/t/ann-benchmarkforrails-v0-1-aka-it-exists/121113>\
**Category:** Rails\
**Created:** [November 23, 2007, 11:23pm UTC](https://www.ruby-forum.com/t/ann-benchmarkforrails-v0-1-aka-it-exists/121113 "2007-11-23T23:23:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cainlevy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/ecccb3/32.png) [@cainlevy](https://www.ruby-forum.com/u/cainlevy)\
**Post date:** [November 23, 2007, 11:23pm UTC](https://www.ruby-forum.com/t/ann-benchmarkforrails-v0-1-aka-it-exists/121113/1 "2007-11-23T23:23:36Z")

</div>

Hey y’all,

I decided to hack up a small benchmarking plugin for Rails. This is  
pretty  
much like the Rails’ benchmarking you see in your logs, except that it  
benchmarks:

- the _entire_ process lifecycle, including …
- before filters
- after filters
- session initialization
- time spent in ActiveRecord::Base.find (more encompassing than DB  
access)

And it also makes adding new benchmarks incredibly simple. For example:

BenchmarkForRails.watch(“linking”, ActionView::Helpers::UrlHelper,  
:link\_to)

Check it out and let me know where it should go from here!

Linkage:  
project page: [http://benchmarkforrails.googlecode.com/](http://benchmarkforrails.googlecode.com/)  
subversion: [http://benchmarkforrails.googlecode.com/svn/trunk](http://benchmarkforrails.googlecode.com/svn/trunk)  
blog:  
[http://codelevy.com/articles/2007/11/23/benchmarkforrails-new-benchmarking-plugin](http://codelevy.com/articles/2007/11/23/benchmarkforrails-new-benchmarking-plugin)

-Lance

–  
rails blog: [http://codelevy.com/](http://codelevy.com/)
