script/about
bird:# script/about
About your application's environment
Ruby version 1.8.4 (i386-linux)
RubyGems version 0.9.0
Rails version 1.1.6
Active Record version 1.14.4
Action Pack version 1.12.5
Action Web Service version 1.1.6
Action Mailer version 1.2.5
Active Support version 1.3.1
Application root /home/bird/src/rails/ora
Environment development
Database adapter oracle
Database schema version 2
script/performance
bird:# script/performance/benchmarker 'User.find(10000)'
"id"
"USERS"
user system total real
#1 "id"
"USERS"
0.016667 0.016667 0.033333 ( 0.016189)
bird:# script/performance/profiler 'User.find(10000)'
Loading Rails...
Using the standard Ruby profiler.
"id"
"USERS"
% cumulative self self total
time seconds seconds calls ms/call ms/call name
35.85 0.32 0.32 111 2.85 3.15 Mutex#unlock
5.66 0.37 0.05 5 10.00 10.00 String#gsub
5.66 0.42 0.05 119 0.42 0.42 Kernel.===
5.66 0.47 0.05 448 0.11 0.11 Thread#critical=