Posted By: Tyler Kovacs
Date: 2006-11-04 03:17
Summary: custom_benchmarks 0.0.1
Project: Zvents Tools
This Rails plugin allows you to easily add your own information to the benchmark line logged at the end of each request. This is very helpful for benchmarking external components like search.
Here's an example where custom_benchmark is used to add search latency and process ID to the rails log:
Completed in 0.40306 (2 reqs/sec) | Rendering: 0.05003 (12%) | DB: 0.04571 (11%) | Search: 0.16429,1 (40%) | PID: 22426 | 200 OK [http://www.zvents.com/welcome/index]
Have a look at the README for more details:
http://blog.zvents.com/2006/10/31/rails-plugin-custom-benchmarks |
|