diff --git a/web/ab_tests/ab.bat b/web/ab_tests/ab.bat index 19ad6c8..2b93f70 100644 --- a/web/ab_tests/ab.bat +++ b/web/ab_tests/ab.bat @@ -1,5 +1,4 @@ -cd C:\xampp\apache\bin - -ab -c 100 -n 1000 -H "Accept-Encoding: deflate, gzip" http://mc.dev/_3rd_party/minify/web/ab_tests/minify/before.js.php > results_minify.txt -ab -c 100 -n 1000 -H "Accept-Encoding: deflate, gzip" http://mc.dev/_3rd_party/minify/web/ab_tests/mod_deflate/before.js > results_deflate.txt -ab -c 100 -n 1000 -H "Accept-Encoding: deflate, gzip" http://mc.dev/_3rd_party/minify/web/ab_tests/type-map/before.js.var > results_type-map.txt \ No newline at end of file +C:\xampp\apache\bin\ab -c 100 -n 2000 -H "Accept-Encoding: deflate, gzip" http://mc.dev/_3rd_party/minify/web/ab_tests/ideal_php/before.php > results_ideal_php.txt +C:\xampp\apache\bin\ab -c 100 -n 2000 -H "Accept-Encoding: deflate, gzip" http://mc.dev/_3rd_party/minify/web/ab_tests/minify/before.js.php > results_minify.txt +C:\xampp\apache\bin\ab -c 100 -n 2000 -H "Accept-Encoding: deflate, gzip" http://mc.dev/_3rd_party/minify/web/ab_tests/mod_deflate/before.js > results_deflate.txt +C:\xampp\apache\bin\ab -c 100 -n 2000 -H "Accept-Encoding: deflate, gzip" http://mc.dev/_3rd_party/minify/web/ab_tests/type-map/before.js.var > results_type-map.txt \ No newline at end of file diff --git a/web/ab_tests/ideal_php/before.php b/web/ab_tests/ideal_php/before.php new file mode 100644 index 0000000..63f9860 --- /dev/null +++ b/web/ab_tests/ideal_php/before.php @@ -0,0 +1,24 @@ + 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 mc.dev (be patient) + + +Server Software: Apache/2.2.4 +Server Hostname: mc.dev +Server Port: 80 + +Document Path: /_3rd_party/minify/web/ab_tests/mod_deflate/before.js +Document Length: 16053 bytes + +Concurrency Level: 100 +Time taken for tests: 10.734375 seconds +Complete requests: 2000 +Failed requests: 0 +Write errors: 0 +Total transferred: 33048000 bytes +HTML transferred: 32106000 bytes +Requests per second: 186.32 [#/sec] (mean) +Time per request: 536.719 [ms] (mean) +Time per request: 5.367 [ms] (mean, across all concurrent requests) +Transfer rate: 3006.51 [Kbytes/sec] received + +Connection Times (ms) + min mean[+/-sd] median max +Connect: 0 1 9.5 0 187 +Processing: 15 531 179.0 531 1000 +Waiting: 0 412 191.3 453 937 +Total: 15 533 179.3 546 1000 + +Percentage of the requests served within a certain time (ms) + 50% 546 + 66% 546 + 75% 593 + 80% 640 + 90% 750 + 95% 875 + 98% 953 + 99% 1000 + 100% 1000 (longest request) diff --git a/web/ab_tests/results_ideal_php.txt b/web/ab_tests/results_ideal_php.txt new file mode 100644 index 0000000..7e5a962 --- /dev/null +++ b/web/ab_tests/results_ideal_php.txt @@ -0,0 +1,43 @@ +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 mc.dev (be patient) + + +Server Software: Apache/2.2.4 +Server Hostname: mc.dev +Server Port: 80 + +Document Path: /_3rd_party/minify/web/ab_tests/ideal_php/before.php +Document Length: 15993 bytes + +Concurrency Level: 100 +Time taken for tests: 4.531250 seconds +Complete requests: 2000 +Failed requests: 0 +Write errors: 0 +Total transferred: 32802000 bytes +HTML transferred: 31986000 bytes +Requests per second: 441.38 [#/sec] (mean) +Time per request: 226.563 [ms] (mean) +Time per request: 2.266 [ms] (mean, across all concurrent requests) +Transfer rate: 7069.35 [Kbytes/sec] received + +Connection Times (ms) + min mean[+/-sd] median max +Connect: 0 0 2.7 0 31 +Processing: 62 217 50.0 218 671 +Waiting: 31 216 50.7 218 671 +Total: 62 218 49.9 218 671 + +Percentage of the requests served within a certain time (ms) + 50% 218 + 66% 218 + 75% 218 + 80% 234 + 90% 234 + 95% 265 + 98% 296 + 99% 500 + 100% 671 (longest request) diff --git a/web/ab_tests/results_minify_r110.txt b/web/ab_tests/results_minify_r110.txt new file mode 100644 index 0000000..06e43e4 --- /dev/null +++ b/web/ab_tests/results_minify_r110.txt @@ -0,0 +1,43 @@ +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 mc.dev (be patient) + + +Server Software: Apache/2.2.4 +Server Hostname: mc.dev +Server Port: 80 + +Document Path: /_3rd_party/minify/web/ab_tests/minify/before.js.php +Document Length: 15993 bytes + +Concurrency Level: 100 +Time taken for tests: 17.312500 seconds +Complete requests: 2000 +Failed requests: 0 +Write errors: 0 +Total transferred: 32736000 bytes +HTML transferred: 31986000 bytes +Requests per second: 115.52 [#/sec] (mean) +Time per request: 865.625 [ms] (mean) +Time per request: 8.656 [ms] (mean, across all concurrent requests) +Transfer rate: 1846.53 [Kbytes/sec] received + +Connection Times (ms) + min mean[+/-sd] median max +Connect: 0 0 2.1 0 15 +Processing: 125 853 150.1 844 1296 +Waiting: 125 852 150.1 843 1281 +Total: 125 854 150.1 859 1296 + +Percentage of the requests served within a certain time (ms) + 50% 859 + 66% 906 + 75% 953 + 80% 984 + 90% 1046 + 95% 1109 + 98% 1156 + 99% 1187 + 100% 1296 (longest request) diff --git a/web/ab_tests/results_type-map.txt b/web/ab_tests/results_type-map.txt new file mode 100644 index 0000000..ffcffa1 --- /dev/null +++ b/web/ab_tests/results_type-map.txt @@ -0,0 +1,43 @@ +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 mc.dev (be patient) + + +Server Software: Apache/2.2.4 +Server Hostname: mc.dev +Server Port: 80 + +Document Path: /_3rd_party/minify/web/ab_tests/type-map/before.js.var +Document Length: 15993 bytes + +Concurrency Level: 100 +Time taken for tests: 4.171875 seconds +Complete requests: 2000 +Failed requests: 0 +Write errors: 0 +Total transferred: 33044000 bytes +HTML transferred: 31986000 bytes +Requests per second: 479.40 [#/sec] (mean) +Time per request: 208.594 [ms] (mean) +Time per request: 2.086 [ms] (mean, across all concurrent requests) +Transfer rate: 7734.89 [Kbytes/sec] received + +Connection Times (ms) + min mean[+/-sd] median max +Connect: 0 0 2.9 0 31 +Processing: 31 202 53.4 203 453 +Waiting: 15 195 52.1 203 453 +Total: 31 202 53.4 203 453 + +Percentage of the requests served within a certain time (ms) + 50% 203 + 66% 218 + 75% 218 + 80% 218 + 90% 250 + 95% 312 + 98% 343 + 99% 343 + 100% 453 (longest request)