Skip to content

Instantly share code, notes, and snippets.

@c9s
Created January 15, 2014 00:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save c9s/8428915 to your computer and use it in GitHub Desktop.
Save c9s/8428915 to your computer and use it in GitHub Desktop.
pharlcon vs pux
ab -n 1000 http://dev/work/php/router-benchmark/code/pharlcon/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
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)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests
Server Software: nginx/1.4.4
Server Hostname: dev
Server Port: 80
Document Path: /work/php/router-benchmark/code/pharlcon/
Document Length: 0 bytes
Concurrency Level: 1
Time taken for tests: 0.777 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 146000 bytes
HTML transferred: 0 bytes
Requests per second: 1287.66 [#/sec] (mean)
Time per request: 0.777 [ms] (mean)
Time per request: 0.777 [ms] (mean, across all concurrent requests)
Transfer rate: 183.59 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 1 1 0.3 1 7
Processing: 0 0 0.0 0 0
Waiting: 0 0 0.0 0 0
Total: 1 1 0.3 1 7
Percentage of the requests served within a certain time (ms)
50% 1
66% 1
75% 1
80% 1
90% 1
95% 1
98% 1
99% 1
100% 7 (longest request)
ab -n 1000 http://localhost/work/php/router-benchmark/code/pux/hello.php
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
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)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests
Server Software: nginx/1.4.4
Server Hostname: localhost
Server Port: 80
Document Path: /work/php/router-benchmark/code/pux/hello.php
Document Length: 0 bytes
Concurrency Level: 1
Time taken for tests: 0.805 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 146000 bytes
HTML transferred: 0 bytes
Requests per second: 1242.29 [#/sec] (mean)
Time per request: 0.805 [ms] (mean)
Time per request: 0.805 [ms] (mean, across all concurrent requests)
Transfer rate: 177.12 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 1 1 0.2 1 5
Processing: 0 0 0.0 0 0
Waiting: 0 0 0.0 0 0
Total: 1 1 0.2 1 5
Percentage of the requests served within a certain time (ms)
50% 1
66% 1
75% 1
80% 1
90% 1
95% 1
98% 1
99% 1
100% 5 (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment