Ruby on RailsをJRuby + Glassfishで動作させるとCRuby + WEBRickよりも早い件について

| | コメント(0)

びっくりした。

P.S. これは、cygwinのrubyおせーっていうネタです。あしからず。

takai@kafka% ruby -v                                                          ~
ruby 1.8.5 (2006-08-25) [i386-cygwin]
takai@kafka% jruby -v                                                         ~
ruby 1.8.5 (0) [java]
takai@kafka% c:/Program\ Files/Apache\ Software\ Foundation/Apache2.2/bin/ab.exe -n 100 http://localhost:3000/welcome
This is ApacheBench, Version 2.0.40-dev <$Revision: 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 localhost (be patient).....done


Server Software:        WEBrick/1.3.1
Server Hostname:        localhost
Server Port:            3000

Document Path:          /welcome
Document Length:        71 bytes

Concurrency Level:      1
Time taken for tests:   13.890625 seconds
Complete requests:      100
Failed requests:        0
Write errors:           0
Total transferred:      34500 bytes
HTML transferred:       7100 bytes
Requests per second:    7.20 [#/sec] (mean)
Time per request:       138.906 [ms] (mean)
Time per request:       138.906 [ms] (mean, across all concurrent requests)
Transfer rate:          2.38 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   2.1      0      15
Processing:   125  138  31.8    125     281
Waiting:      109  135  32.6    125     281
Total:        125  138  31.8    125     281

Percentage of the requests served within a certain time (ms)
  50%    125
  66%    125
  75%    140
  80%    140
  90%    171
  95%    234
  98%    234
  99%    281
 100%    281 (longest request)
takai@kafka% c:/Program\ Files/Apache\ Software\ Foundation/Apache2.2/bin/ab.exe -n 100 http://localhost:8080/welcome
This is ApacheBench, Version 2.0.40-dev <$Revision: 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 localhost (be patient).....done


Server Software:        Grizzly/1.0.4
Server Hostname:        localhost
Server Port:            8080

Document Path:          /welcome
Document Length:        71 bytes

Concurrency Level:      1
Time taken for tests:   7.437500 seconds
Complete requests:      100
Failed requests:        0
Write errors:           0
Total transferred:      30100 bytes
HTML transferred:       7100 bytes
Requests per second:    13.45 [#/sec] (mean)
Time per request:       74.375 [ms] (mean)
Time per request:       74.375 [ms] (mean, across all concurrent requests)
Transfer rate:          3.90 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   2.6      0      15
Processing:    46   73  17.9     62     141
Waiting:       15   71  18.2     62     140
Total:         46   73  18.4     62     156

Percentage of the requests served within a certain time (ms)
  50%     62
  66%     78
  75%     78
  80%     78
  90%     93
  95%    109
  98%    140
  99%    156
 100%    156 (longest request)

コメントする

著者について

高井直人
高井 直人
takai@recompile.net

ソフトウェアエンジニア。1977年横浜生まれ。大学在学中からネットワークや情報技術にたずさわる。Web制作会社などを経て、現在はシステムインテグレータに勤務。エンタープライズRubyをテーマに社内標準の策定などに従事している。

タグクラウド

ウェブページ

Powered by Movable Type 4.1-en-release-26-r1141-20080104