Skip to content

Instantly share code, notes, and snippets.

@kpacha
Created January 27, 2014 21:18
Show Gist options
  • Save kpacha/8657484 to your computer and use it in GitHub Desktop.
Save kpacha/8657484 to your computer and use it in GitHub Desktop.
yuicompressor-server benchmark
$ ab -c 5 -n 100 -H "Content-Type:text/javascript; charset=utf-8" -p jquery.js -T "text/javascript" http://localhost:2013/
This is ApacheBench, Version 2.3 <$Revision: 1430300 $>
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).....done
Server Software: Jetty(7.6.10.v20130312)
Server Hostname: localhost
Server Port: 2013
Document Path: /
Document Length: 105386 bytes
Concurrency Level: 5
Time taken for tests: 133.719 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Total transferred: 10548300 bytes
Total body sent: 27338200
HTML transferred: 10538600 bytes
Requests per second: 0.75 [#/sec] (mean)
Time per request: 6685.937 [ms] (mean)
Time per request: 1337.187 [ms] (mean, across all concurrent requests)
Transfer rate: 77.04 [Kbytes/sec] received
199.65 kb/s sent
276.69 kb/s total
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.1 0 1
Processing: 3585 6621 1042.9 6418 10867
Waiting: 3583 6615 1038.5 6416 10843
Total: 3585 6621 1043.0 6418 10868
Percentage of the requests served within a certain time (ms)
50% 6418
66% 6562
75% 6707
80% 6835
90% 7535
95% 10310
98% 10575
99% 10868
100% 10868 (longest request)
$ ab -c 5 -n 100 -H "Content-Type:text/javascript; charset=utf-8" -p jquery.js -T "text/javascript" http://localhost:8080/
This is ApacheBench, Version 2.3 <$Revision: 1430300 $>
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).....done
Server Software: Jetty(9.1.z-SNAPSHOT)
Server Hostname: localhost
Server Port: 8080
Document Path: /
Document Length: 105386 bytes
Concurrency Level: 5
Time taken for tests: 33.974 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Total transferred: 10560000 bytes
Total body sent: 27338200
HTML transferred: 10538600 bytes
Requests per second: 2.94 [#/sec] (mean)
Time per request: 1698.695 [ms] (mean)
Time per request: 339.739 [ms] (mean, across all concurrent requests)
Transfer rate: 303.54 [Kbytes/sec] received
785.82 kb/s sent
1089.36 kb/s total
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.1 0 1
Processing: 14 1653 3660.3 34 14214
Waiting: 12 1645 3660.1 24 14210
Total: 14 1653 3660.4 34 14215
Percentage of the requests served within a certain time (ms)
50% 34
66% 40
75% 57
80% 302
90% 6905
95% 13886
98% 14213
99% 14215
100% 14215 (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment