public
Created

Rack vs Rails

  • Download Gist
node.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
Server Software:
Server Hostname: localhost
Server Port: 8080
 
Document Path: /
Document Length: 5 bytes
 
Concurrency Level: 15
Time taken for tests: 0.183 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 43000 bytes
HTML transferred: 5000 bytes
Requests per second: 5459.17 [#/sec] (mean)
Time per request: 2.748 [ms] (mean)
Time per request: 0.183 [ms] (mean, across all concurrent requests)
Transfer rate: 229.24 [Kbytes/sec] received
 
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.1 0 1
Processing: 0 3 1.4 3 8
Waiting: 0 3 1.4 2 8
Total: 0 3 1.4 3 8
 
Percentage of the requests served within a certain time (ms)
50% 3
66% 3
75% 4
80% 4
90% 5
95% 5
98% 6
99% 7
100% 8 (longest request)
rack.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
Server Software: WEBrick/1.3.1
Server Hostname: localhost
Server Port: 3000
 
Document Path: /rack
Document Length: 5 bytes
 
Concurrency Level: 15
Time taken for tests: 4.131 seconds
Complete requests: 1000
Failed requests: 6
(Connect: 6, Receive: 0, Length: 0, Exceptions: 0)
Write errors: 0
Total transferred: 313000 bytes
HTML transferred: 5000 bytes
Requests per second: 242.05 [#/sec] (mean)
Time per request: 61.970 [ms] (mean)
Time per request: 4.131 [ms] (mean, across all concurrent requests)
Transfer rate: 73.99 [Kbytes/sec] received
 
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 8 86.2 0 1002
Processing: 15 51 17.7 53 103
Waiting: 11 47 17.3 50 99
Total: 16 59 89.0 54 1054
 
Percentage of the requests served within a certain time (ms)
50% 54
66% 55
75% 57
80% 58
90% 75
95% 97
98% 100
99% 102
100% 1054 (longest request)
rack_outside_rails.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
Server Software: WEBrick/1.3.1
Server Hostname: localhost
Server Port: 9292
 
Document Path: /
Document Length: 15 bytes
 
Concurrency Level: 15
Time taken for tests: 2.909 seconds
Complete requests: 1000
Failed requests: 11
(Connect: 11, Receive: 0, Length: 0, Exceptions: 0)
Write errors: 0
Total transferred: 211000 bytes
HTML transferred: 15000 bytes
Requests per second: 343.74 [#/sec] (mean)
Time per request: 43.638 [ms] (mean)
Time per request: 2.909 [ms] (mean, across all concurrent requests)
Transfer rate: 70.83 [Kbytes/sec] received
 
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 3 68.0 0 1937
Processing: 12 26 11.7 20 53
Waiting: 8 23 11.2 17 51
Total: 13 29 69.1 20 1971
 
Percentage of the requests served within a certain time (ms)
50% 20
66% 21
75% 44
80% 45
90% 46
95% 47
98% 48
99% 50
100% 1971 (longest request)
rails.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
Server Software: WEBrick/1.3.1
Server Hostname: localhost
Server Port: 3000
 
Document Path: /user
Document Length: 5 bytes
 
Concurrency Level: 15
Time taken for tests: 24.959 seconds
Complete requests: 1000
Failed requests: 3
(Connect: 3, Receive: 0, Length: 0, Exceptions: 0)
Write errors: 0
Total transferred: 328000 bytes
HTML transferred: 5000 bytes
Requests per second: 40.07 [#/sec] (mean)
Time per request: 374.384 [ms] (mean)
Time per request: 24.959 [ms] (mean, across all concurrent requests)
Transfer rate: 12.83 [Kbytes/sec] received
 
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 7 79.4 0 1002
Processing: 187 363 38.4 364 516
Waiting: 184 359 38.1 361 512
Total: 187 369 82.6 365 1377
 
Percentage of the requests served within a certain time (ms)
50% 365
66% 367
75% 370
80% 372
90% 398
95% 403
98% 433
99% 513
100% 1377 (longest request)

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.