Browse Source

Add 1000-concurrency-result report

yhirose 5 years ago
parent
commit
b0af78e340

+ 6 - 0
example/1000-concurrency-result/check-hardware-concurrency-count.cc

@@ -0,0 +1,6 @@
+#include <thread>
+#include <iostream>
+using namespace std;
+int main(void) {
+  cout << std::thread::hardware_concurrency() << endl;
+}

+ 70 - 0
example/1000-concurrency-result/diff3-w10-w20-w30

@@ -0,0 +1,70 @@
+====
+1:16c
+  Time taken for tests:   6.053 seconds
+2:16c
+  Time taken for tests:   5.728 seconds
+3:16c
+  Time taken for tests:   5.757 seconds
+====
+1:21,24c
+  Requests per second:    1652.00 [#/sec] (mean)
+  Time per request:       605.326 [ms] (mean)
+  Time per request:       0.605 [ms] (mean, across all concurrent requests)
+  Transfer rate:          638.86 [Kbytes/sec] received
+2:21,24c
+  Requests per second:    1745.81 [#/sec] (mean)
+  Time per request:       572.800 [ms] (mean)
+  Time per request:       0.573 [ms] (mean, across all concurrent requests)
+  Transfer rate:          675.14 [Kbytes/sec] received
+3:21,24c
+  Requests per second:    1736.96 [#/sec] (mean)
+  Time per request:       575.719 [ms] (mean)
+  Time per request:       0.576 [ms] (mean, across all concurrent requests)
+  Transfer rate:          671.71 [Kbytes/sec] received
+====
+1:28,31c
+  Connect:       63  249  64.4    253     414
+  Processing:    12  342 108.0    323     793
+  Waiting:        7  260  82.5    254     580
+  Total:        230  591 109.6    569     959
+2:28,31c
+  Connect:       51  291 130.0    291     546
+  Processing:    18  278 131.1    278     549
+  Waiting:        3  250 144.0    250     545
+  Total:        557  569   8.5    566     606
+3:28,31c
+  Connect:       49  295 129.3    296     539
+  Processing:    15  277 131.0    276     536
+  Waiting:        3  251 143.2    250     532
+  Total:        529  572  11.0    573     593
+====
+1:34,42c
+    50%    569
+    66%    651
+    75%    688
+    80%    704
+    90%    715
+    95%    726
+    98%    849
+    99%    849
+   100%    959 (longest request)
+2:34,42c
+    50%    566
+    66%    569
+    75%    571
+    80%    574
+    90%    580
+    95%    588
+    98%    596
+    99%    601
+   100%    606 (longest request)
+3:34,42c
+    50%    573
+    66%    576
+    75%    577
+    80%    578
+    90%    585
+    95%    592
+    98%    593
+    99%    593
+   100%    593 (longest request)

+ 42 - 0
example/1000-concurrency-result/w1

@@ -0,0 +1,42 @@
+This is ApacheBench, Version 2.3 <$Revision: 1807734 $>
+Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
+Licensed to The Apache Software Foundation, http://www.apache.org/
+
+Benchmarking localhost (be patient)
+
+
+Server Software:        
+Server Hostname:        localhost
+Server Port:            8080
+
+Document Path:          /hello.cc
+Document Length:        330 bytes
+
+Concurrency Level:      1000
+Time taken for tests:   7.465 seconds
+Complete requests:      10000
+Failed requests:        0
+Total transferred:      3960000 bytes
+HTML transferred:       3300000 bytes
+Requests per second:    1339.56 [#/sec] (mean)
+Time per request:       746.511 [ms] (mean)
+Time per request:       0.747 [ms] (mean, across all concurrent requests)
+Transfer rate:          518.03 [Kbytes/sec] received
+
+Connection Times (ms)
+              min  mean[+/-sd] median   max
+Connect:        0    5  14.2      0      64
+Processing:    35  704 135.0    732     798
+Waiting:       33  704 135.1    732     798
+Total:         97  709 121.6    732     798
+
+Percentage of the requests served within a certain time (ms)
+  50%    732
+  66%    759
+  75%    765
+  80%    768
+  90%    776
+  95%    785
+  98%    789
+  99%    791
+ 100%    798 (longest request)

+ 42 - 0
example/1000-concurrency-result/w10

@@ -0,0 +1,42 @@
+This is ApacheBench, Version 2.3 <$Revision: 1807734 $>
+Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
+Licensed to The Apache Software Foundation, http://www.apache.org/
+
+Benchmarking localhost (be patient)
+
+
+Server Software:        
+Server Hostname:        localhost
+Server Port:            8080
+
+Document Path:          /hello.cc
+Document Length:        330 bytes
+
+Concurrency Level:      1000
+Time taken for tests:   6.053 seconds
+Complete requests:      10000
+Failed requests:        0
+Total transferred:      3960000 bytes
+HTML transferred:       3300000 bytes
+Requests per second:    1652.00 [#/sec] (mean)
+Time per request:       605.326 [ms] (mean)
+Time per request:       0.605 [ms] (mean, across all concurrent requests)
+Transfer rate:          638.86 [Kbytes/sec] received
+
+Connection Times (ms)
+              min  mean[+/-sd] median   max
+Connect:       63  249  64.4    253     414
+Processing:    12  342 108.0    323     793
+Waiting:        7  260  82.5    254     580
+Total:        230  591 109.6    569     959
+
+Percentage of the requests served within a certain time (ms)
+  50%    569
+  66%    651
+  75%    688
+  80%    704
+  90%    715
+  95%    726
+  98%    849
+  99%    849
+ 100%    959 (longest request)

+ 42 - 0
example/1000-concurrency-result/w20

@@ -0,0 +1,42 @@
+This is ApacheBench, Version 2.3 <$Revision: 1807734 $>
+Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
+Licensed to The Apache Software Foundation, http://www.apache.org/
+
+Benchmarking localhost (be patient)
+
+
+Server Software:        
+Server Hostname:        localhost
+Server Port:            8080
+
+Document Path:          /hello.cc
+Document Length:        330 bytes
+
+Concurrency Level:      1000
+Time taken for tests:   5.728 seconds
+Complete requests:      10000
+Failed requests:        0
+Total transferred:      3960000 bytes
+HTML transferred:       3300000 bytes
+Requests per second:    1745.81 [#/sec] (mean)
+Time per request:       572.800 [ms] (mean)
+Time per request:       0.573 [ms] (mean, across all concurrent requests)
+Transfer rate:          675.14 [Kbytes/sec] received
+
+Connection Times (ms)
+              min  mean[+/-sd] median   max
+Connect:       51  291 130.0    291     546
+Processing:    18  278 131.1    278     549
+Waiting:        3  250 144.0    250     545
+Total:        557  569   8.5    566     606
+
+Percentage of the requests served within a certain time (ms)
+  50%    566
+  66%    569
+  75%    571
+  80%    574
+  90%    580
+  95%    588
+  98%    596
+  99%    601
+ 100%    606 (longest request)

+ 42 - 0
example/1000-concurrency-result/w30

@@ -0,0 +1,42 @@
+This is ApacheBench, Version 2.3 <$Revision: 1807734 $>
+Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
+Licensed to The Apache Software Foundation, http://www.apache.org/
+
+Benchmarking localhost (be patient)
+
+
+Server Software:        
+Server Hostname:        localhost
+Server Port:            8080
+
+Document Path:          /hello.cc
+Document Length:        330 bytes
+
+Concurrency Level:      1000
+Time taken for tests:   5.757 seconds
+Complete requests:      10000
+Failed requests:        0
+Total transferred:      3960000 bytes
+HTML transferred:       3300000 bytes
+Requests per second:    1736.96 [#/sec] (mean)
+Time per request:       575.719 [ms] (mean)
+Time per request:       0.576 [ms] (mean, across all concurrent requests)
+Transfer rate:          671.71 [Kbytes/sec] received
+
+Connection Times (ms)
+              min  mean[+/-sd] median   max
+Connect:       49  295 129.3    296     539
+Processing:    15  277 131.0    276     536
+Waiting:        3  251 143.2    250     532
+Total:        529  572  11.0    573     593
+
+Percentage of the requests served within a certain time (ms)
+  50%    573
+  66%    576
+  75%    577
+  80%    578
+  90%    585
+  95%    592
+  98%    593
+  99%    593
+ 100%    593 (longest request)

+ 42 - 0
example/1000-concurrency-result/w40

@@ -0,0 +1,42 @@
+This is ApacheBench, Version 2.3 <$Revision: 1807734 $>
+Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
+Licensed to The Apache Software Foundation, http://www.apache.org/
+
+Benchmarking localhost (be patient)
+
+
+Server Software:        
+Server Hostname:        localhost
+Server Port:            8080
+
+Document Path:          /hello.cc
+Document Length:        330 bytes
+
+Concurrency Level:      1000
+Time taken for tests:   5.860 seconds
+Complete requests:      10000
+Failed requests:        0
+Total transferred:      3960000 bytes
+HTML transferred:       3300000 bytes
+Requests per second:    1706.51 [#/sec] (mean)
+Time per request:       585.990 [ms] (mean)
+Time per request:       0.586 [ms] (mean, across all concurrent requests)
+Transfer rate:          659.94 [Kbytes/sec] received
+
+Connection Times (ms)
+              min  mean[+/-sd] median   max
+Connect:       50  297 134.0    296     571
+Processing:    16  286 135.9    286     575
+Waiting:        3  259 148.2    259     570
+Total:        544  582  18.0    577     628
+
+Percentage of the requests served within a certain time (ms)
+  50%    577
+  66%    584
+  75%    593
+  80%    593
+  90%    626
+  95%    627
+  98%    627
+  99%    627
+ 100%    628 (longest request)