Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Correct JRuby results for correct 1.9 execution

  • Loading branch information...
commit b02537f2abcea6f64830775d313549c79e908879 1 parent 3783736
David Czarnecki authored June 12, 2012

Showing 1 changed file with 21 additions and 21 deletions. Show diff stats Hide diff stats

  1. 42  README.md
42  README.md
Source Rendered
@@ -21,7 +21,7 @@ unicorn -c unicorn.rb
21 21
 ```
22 22
 rvm use jruby-1.6.7.2@puma-benchmarking --create
23 23
 bundle install
24  
-puma -t 4:4
  24
+ruby --1.9 `which puma` -t 4:4
25 25
 ```
26 26
 
27 27
 ## Running under Rubinius (1.2.4) - 1.8.7 / Puma
@@ -37,7 +37,7 @@ puma -t 4:4
37 37
 ```
38 38
 rvm use rbx-head@puma-benchmarking --create
39 39
 bundle install
40  
-puma -t 4:4
  40
+ruby -X19 `which puma` -t 4:4
41 41
 ```
42 42
 
43 43
 ## Benchmarking with ab
@@ -52,7 +52,7 @@ ab -n 10000 -c 50 -k http://localhost:9292/health/ping
52 52
 
53 53
 MRI - 1.9.3 / Unicorn: Requests per second:    1493.28 [#/sec] (mean)
54 54
 
55  
-JRuby (1.6.7.2) - 1.9.2 / Puma: Requests per second:    782.52 [#/sec] (mean)
  55
+JRuby (1.6.7.2) - 1.9.2 / Puma: Requests per second:    1460.20 [#/sec] (mean)
56 56
 
57 57
 Rubinius (1.2.4) - 1.8.7 / Puma: Requests per second:    55.09 [#/sec] (mean)
58 58
 
@@ -104,42 +104,42 @@ Percentage of the requests served within a certain time (ms)
104 104
 
105 105
 ```
106 106
 Server Software:        
107  
-Server Hostname:        localhost
  107
+Server Hostname:        127.0.0.1
108 108
 Server Port:            9292
109 109
 
110 110
 Document Path:          /health/ping
111 111
 Document Length:        29 bytes
112 112
 
113 113
 Concurrency Level:      50
114  
-Time taken for tests:   12.779 seconds
  114
+Time taken for tests:   6.848 seconds
115 115
 Complete requests:      10000
116 116
 Failed requests:        0
117 117
 Write errors:           0
118 118
 Keep-Alive requests:    10000
119 119
 Total transferred:      1240000 bytes
120 120
 HTML transferred:       290000 bytes
121  
-Requests per second:    782.52 [#/sec] (mean)
122  
-Time per request:       63.896 [ms] (mean)
123  
-Time per request:       1.278 [ms] (mean, across all concurrent requests)
124  
-Transfer rate:          94.76 [Kbytes/sec] received
  121
+Requests per second:    1460.20 [#/sec] (mean)
  122
+Time per request:       34.242 [ms] (mean)
  123
+Time per request:       0.685 [ms] (mean, across all concurrent requests)
  124
+Transfer rate:          176.82 [Kbytes/sec] received
125 125
 
126 126
 Connection Times (ms)
127 127
               min  mean[+/-sd] median   max
128 128
 Connect:        0    0   0.0      0       1
129  
-Processing:     1    5  13.6      3     632
130  
-Waiting:        0    5  13.4      3     630
131  
-Total:          1    5  13.6      3     634
  129
+Processing:     1    2   1.0      2       6
  130
+Waiting:        1    2   0.9      2       6
  131
+Total:          1    2   1.0      2       7
132 132
 
133 133
 Percentage of the requests served within a certain time (ms)
134  
-  50%      3
135  
-  66%      4
136  
-  75%      5
137  
-  80%      6
138  
-  90%      9
139  
-  95%     13
140  
-  98%     19
141  
-  99%     24
142  
- 100%    634 (longest request)
  134
+  50%      2
  135
+  66%      2
  136
+  75%      3
  137
+  80%      3
  138
+  90%      3
  139
+  95%      4
  140
+  98%      5
  141
+  99%      5
  142
+ 100%      7 (longest request)
143 143
 ```
144 144
 
145 145
 ## Rubinius (1.2.4) - 1.8.7 / Puma

0 notes on commit b02537f

Please sign in to comment.
Something went wrong with that request. Please try again.