Rails 0.12 (19th April, 2005) Added the BenchmarkerScript.
Other benchmarking tools can be found in BenchmarkingRails.
After getting a fresh set of Rails running on a new server, you’d be able to do:
$ rake benchmark
...and the wheels would start spinning and produce something like this:
+------------------------------------+
| Package | Req/Sec |
+--------------------------+---------+
| Active Record | ~45 |
| Find 1 | 138 |
| Walking associations | 65 |
| Saving with callbacks | 51 |
+--------------------------+---------+
| Action Pack | ~148 |
| List of 100 | 38 |
| Show of 1 | 65 |
| Search finding 10 | 51 |
+--------------------------+---------+
| Dispatcher (FCGI/Pstore) | ~48 |
| List of 100 | 35 |
| Show of 1 | 65 |
| Search finding 10 | 51 |
+--------------------------+---------+
| Dispatcher (FCGI/none) | ~78 |
| List of 100 | 38 |
| Show of 1 | 65 |
| Search finding 10 | 51 |
+--------------------------+---------+
This would allow people to compare how suitable a given server was for running Rails and answer important questions about how much load they should expect before scaling hardware.
Doesnt seem to exist in rails 1.1.16!