On my Ubuntu 8.04 64 bit desktop, I created an empty Rails project and
from another machine, I used
ab -n 10 http://210.77.27.169:3000/
to test the performance:
When I put rails 2.3.3 under vendor/rails:
Server Software: WEBrick/1.3.1
Server Hostname: 210.77.27.169
Server Port: 3000
Document Path: /
Document Length: 7466 bytes
Concurrency Level: 1
Time taken for tests: 193.296685 seconds
Complete requests: 10
Failed requests: 0
Write errors: 0
Total transferred: 76820 bytes
HTML transferred: 74660 bytes
Requests per second: 0.05 [#/sec] (mean)
Time per request: 19329.669 [ms] (mean)
Time per request: 19329.669 [ms] (mean, across all concurrent
requests)
Transfer rate: 0.39 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 2 310 948.8 13 3011
Processing: 17357 19018 2103.2 18009 23015
Waiting: 17349 19003 2102.6 17994 22995
Total: 17359 19329 2174.6 18023 23026
Percentage of the requests served within a certain time (ms)
50% 18023
66% 18983
75% 21126
80% 22880
90% 23026
95% 23026
98% 23026
99% 23026
100% 23026 (longest request)
When I put rails 2.2.2 under vendor/rails:
Server Software: WEBrick/1.3.1
Server Hostname: 210.77.27.169
Server Port: 3000
Document Path: /
Document Length: 7466 bytes
Concurrency Level: 1
Time taken for tests: 0.212276 seconds
Complete requests: 10
Failed requests: 0
Write errors: 0
Total transferred: 77080 bytes
HTML transferred: 74660 bytes
Requests per second: 47.11 [#/sec] (mean)
Time per request: 21.228 [ms] (mean)
Time per request: 21.228 [ms] (mean, across all concurrent
requests)
Transfer rate: 353.31 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 2 3 1.3 3 6
Processing: 12 17 4.1 18 26
Waiting: 5 9 3.0 10 14
Total: 16 20 4.7 22 32
Percentage of the requests served within a certain time (ms)
50% 22
66% 22
75% 22
80% 22
90% 32
95% 32
98% 32
99% 32
100% 32 (longest request)