Skip to content

Instantly share code, notes, and snippets.

@balupton
Created October 17, 2012 15:07
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 balupton/3906050 to your computer and use it in GitHub Desktop.
Save balupton/3906050 to your computer and use it in GitHub Desktop.
DocPad Benchmark

DocPad Benchmark

Running against the Kitchensink Skeleton

In one terminal window run:

git clone git://github.com/docpad/kitchensink.docpad.git docpad-benchmark
cd docpad-benchmark
npm install
docpad run 

Once that is done, in another terminal window run:

ab -n 1000 -c 1 http://127.0.0.1:9778/
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 127.0.0.1 (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:
Server Hostname: 127.0.0.1
Server Port: 9778
Document Path: /
Document Length: 7245 bytes
Concurrency Level: 1
Time taken for tests: 0.435 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 7416000 bytes
HTML transferred: 7245000 bytes
Requests per second: 2300.47 [#/sec] (mean)
Time per request: 0.435 [ms] (mean)
Time per request: 0.435 [ms] (mean, across all concurrent requests)
Transfer rate: 16660.43 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 0 0 0.3 0 9
Waiting: 0 0 0.3 0 9
Total: 0 0 0.3 0 9
Percentage of the requests served within a certain time (ms)
50% 0
66% 0
75% 0
80% 0
90% 0
95% 1
98% 1
99% 1
100% 9 (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment