| 1 | This page is to document the time the site takes to load. |
| 2 | |
| 3 | ==2011-07-05== |
| 4 | |
| 5 | This is before Varnish has been deployed and also test can only be done using http as https requests get a 302 redirect back to http. |
| 6 | |
| 7 | ===apache bench== |
| 8 | |
| 9 | Requests were done from another machine in the same rack, 100 requests for the front page, 10 at a time, using http, the first request took about 4 seconds and almost all the rest were less that 0.1 second: |
| 10 | |
| 11 | {{{ |
| 12 | ab -v 4 -n 200 -c 10 -H "Accept-Encoding: gzip" http://www.transitionnetwork.org/ |
| 13 | |
| 14 | LOG: Response code = 200 |
| 15 | LOG: header received: |
| 16 | HTTP/1.1 200 OK |
| 17 | Date: Tue, 05 Jul 2011 12:02:58 GMT |
| 18 | Server: Apache |
| 19 | X-Drupal-Cache: HIT |
| 20 | Etag: "1309867375-0" |
| 21 | Cache-Control: public, max-age=0 |
| 22 | Last-Modified: Tue, 05 Jul 2011 12:02:55 +0000 |
| 23 | Expires: Sun, 11 Mar 1984 12:00:00 GMT |
| 24 | Vary: Cookie,Accept-Encoding |
| 25 | Content-Encoding: gzip |
| 26 | Content-Length: 7727 |
| 27 | Connection: close |
| 28 | Content-Type: text/html; charset=utf-8 |
| 29 | |
| 30 | Time taken for tests: 5.131 seconds |
| 31 | Complete requests: 200 |
| 32 | |
| 33 | Percentage of the requests served within a certain time (ms) |
| 34 | 50% 57 |
| 35 | 66% 66 |
| 36 | 75% 74 |
| 37 | 80% 77 |
| 38 | 90% 100 |
| 39 | 95% 4014 |
| 40 | 98% 4019 |
| 41 | 99% 4039 |
| 42 | 100% 4050 (longest request) |
| 43 | }}} |