From b0af78e340761114cf107f68f839241627235d3e Mon Sep 17 00:00:00 2001 From: yhirose Date: Sat, 21 Mar 2020 15:49:26 +0000 Subject: [PATCH] Add 1000-concurrency-result report --- .../check-hardware-concurrency-count.cc | 6 ++ .../1000-concurrency-result/diff3-w10-w20-w30 | 70 +++++++++++++++++++ example/1000-concurrency-result/w1 | 42 +++++++++++ example/1000-concurrency-result/w10 | 42 +++++++++++ example/1000-concurrency-result/w20 | 42 +++++++++++ example/1000-concurrency-result/w30 | 42 +++++++++++ example/1000-concurrency-result/w40 | 42 +++++++++++ 7 files changed, 286 insertions(+) create mode 100644 example/1000-concurrency-result/check-hardware-concurrency-count.cc create mode 100644 example/1000-concurrency-result/diff3-w10-w20-w30 create mode 100644 example/1000-concurrency-result/w1 create mode 100644 example/1000-concurrency-result/w10 create mode 100644 example/1000-concurrency-result/w20 create mode 100644 example/1000-concurrency-result/w30 create mode 100644 example/1000-concurrency-result/w40 diff --git a/example/1000-concurrency-result/check-hardware-concurrency-count.cc b/example/1000-concurrency-result/check-hardware-concurrency-count.cc new file mode 100644 index 0000000..280b718 --- /dev/null +++ b/example/1000-concurrency-result/check-hardware-concurrency-count.cc @@ -0,0 +1,6 @@ +#include +#include +using namespace std; +int main(void) { + cout << std::thread::hardware_concurrency() << endl; +} diff --git a/example/1000-concurrency-result/diff3-w10-w20-w30 b/example/1000-concurrency-result/diff3-w10-w20-w30 new file mode 100644 index 0000000..72b1311 --- /dev/null +++ b/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) diff --git a/example/1000-concurrency-result/w1 b/example/1000-concurrency-result/w1 new file mode 100644 index 0000000..c117dc0 --- /dev/null +++ b/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) diff --git a/example/1000-concurrency-result/w10 b/example/1000-concurrency-result/w10 new file mode 100644 index 0000000..95ac0c0 --- /dev/null +++ b/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) diff --git a/example/1000-concurrency-result/w20 b/example/1000-concurrency-result/w20 new file mode 100644 index 0000000..b7e4434 --- /dev/null +++ b/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) diff --git a/example/1000-concurrency-result/w30 b/example/1000-concurrency-result/w30 new file mode 100644 index 0000000..5fa0bfb --- /dev/null +++ b/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) diff --git a/example/1000-concurrency-result/w40 b/example/1000-concurrency-result/w40 new file mode 100644 index 0000000..b745af7 --- /dev/null +++ b/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)