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/
subversion: http://benchmarkforrails.googlecode.com/svn/trunk
blog:
http://codelevy.com/articles/2007/11/23/benchmarkforrails-new-benchmarking-plugin
-Lance
--
rails blog: http://codelevy.com/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---