増田itter: 計測、計測…

いい機会なのでベンチマークをとってみる。

mod_ruby


~$ ab2 -n 100 http://storehouse.quickvps.net/masudaitter/
This is ApacheBench, Version 2.0.40-dev <: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/

Benchmarking storehouse.quickvps.net (be patient).....done


Server Software: Apache/2.2.3
Server Hostname: storehouse.quickvps.net
Server Port: 80

Document Path: /masudaitter/
Document Length: 35895 bytes

Concurrency Level: 1
Time taken for tests: 73.613000 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Total transferred: 3629200 bytes
HTML transferred: 3589500 bytes
Requests per second: 1.36 [#/sec] (mean)
Time per request: 736.130 [ms] (mean)
Time per request: 736.130 [ms] (mean, across all concurrent requests)
Transfer rate: 48.14 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 28 32 7.4 30 72
Processing: 532 703 296.2 631 2973
Waiting: 355 503 294.5 444 2796
Total: 561 735 295.9 668 3002

Percentage of the requests served within a certain time (ms)
50% 668
66% 695
75% 724
80% 766
90% 895
95% 1083
98% 1937
99% 3002
100% 3002 (longest request)

mongrel


~$ ab2 -n 100 http://storehouse.quickvps.net/masudaitter/
This is ApacheBench, Version 2.0.40-dev <: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/

Benchmarking storehouse.quickvps.net (be patient).....done


Server Software: Mongrel
Server Hostname: storehouse.quickvps.net
Server Port: 80

Document Path: /masudaitter/
Document Length: 35966 bytes

Concurrency Level: 1
Time taken for tests: 70.924000 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Total transferred: 3634000 bytes
HTML transferred: 3596600 bytes
Requests per second: 1.41 [#/sec] (mean)
Time per request: 709.240 [ms] (mean)
Time per request: 709.240 [ms] (mean, across all concurrent requests)
Transfer rate: 50.03 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 28 38 30.5 30 228
Processing: 528 670 177.4 621 1572
Waiting: 351 457 153.3 422 1383
Total: 557 709 183.2 659 1601

Percentage of the requests served within a certain time (ms)
50% 659
66% 697
75% 742
80% 776
90% 924
95% 1119
98% 1367
99% 1601
100% 1601 (longest request)

まとめ

あんまり変わらず。たいした処理をやっていないせいかも。
メモリは……誰かVPS環境(OpenVZ)での使用メモリの調べ方を教えてください…