Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
--- untitled +++ (clipboard) @@ -1,4 +1,4 @@ -// BEFORE UPDATE. +// AFTER UPDATE. // No caching @@ -16,85 +16,83 @@ Document Length: 4959 bytes Concurrency Level: 1 -Time taken for tests: 20.011 seconds +Time taken for tests: 19.066 seconds Complete requests: 100 Failed requests: 0 Broken pipe errors: 0 Total transferred: 544200 bytes HTML transferred: 495900 bytes -Requests per second: 5.00 [#/sec] (mean) -Time per request: 200.11 [ms] (mean) -Time per request: 200.11 [ms] (mean, across all concurrent requests) -Transfer rate: 27.20 [Kbytes/sec] received +Requests per second: 5.24 [#/sec] (mean) +Time per request: 190.66 [ms] (mean) +Time per request: 190.66 [ms] (mean, across all concurrent requests) +Transfer rate: 28.54 [Kbytes/sec] received Connnection Times (ms) min mean[+/-sd] median max -Connect: 0 0 0.0 0 1 -Processing: 180 200 45.9 188 513 -Waiting: 180 199 45.9 187 513 -Total: 180 200 45.9 188 513 -ERROR: The median and mean for the initial connection time are more than twice the standard - deviation apart. These results are NOT reliable. +Connect: 0 0 0.2 0 3 +Processing: 181 190 10.2 187 244 +Waiting: 180 190 10.1 187 244 +Total: 181 190 10.1 187 244 Percentage of the requests served within a certain time (ms) - 50% 188 - 66% 191 - 75% 193 - 80% 199 - 90% 213 - 95% 260 - 98% 459 - 99% 513 - 100% 513 (last request) - + 50% 187 + 66% 189 + 75% 191 + 80% 193 + 90% 203 + 95% 213 + 98% 239 + 99% 244 + 100% 244 (last request) + // Normal caching - dvessel:~ joon$ ab -n 100 http://localhost/projects/DRUPAL-HEAD/ - This is ApacheBench, Version 1.3d <$Revision: 1.73 $> apache-1.3 - Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ - Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/ - - Benchmarking localhost (be patient).....done - Server Software: Apache/1.3.33 - Server Hostname: localhost - Server Port: 80 - - Document Path: /projects/DRUPAL-HEAD/ - Document Length: 4959 bytes - - Concurrency Level: 1 - Time taken for tests: 3.616 seconds - Complete requests: 100 - Failed requests: 0 - Broken pipe errors: 0 - Total transferred: 542500 bytes - HTML transferred: 495900 bytes - Requests per second: 27.65 [#/sec] (mean) - Time per request: 36.16 [ms] (mean) - Time per request: 36.16 [ms] (mean, across all concurrent requests) - Transfer rate: 150.03 [Kbytes/sec] received - - Connnection Times (ms) - min mean[+/-sd] median max - Connect: 0 0 0.3 0 4 - Processing: 31 35 8.7 34 91 - Waiting: 19 35 9.0 33 90 - Total: 31 36 8.7 34 91 - - Percentage of the requests served within a certain time (ms) - 50% 34 - 66% 34 - 75% 35 - 80% 36 - 90% 37 - 95% 39 - 98% 87 - 99% 91 - 100% 91 (last request) +dvessel:~ joon$ ab -n 100 http://localhost/projects/DRUPAL-HEAD/ +This is ApacheBench, Version 1.3d <$Revision: 1.73 $> apache-1.3 +Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ +Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/ + +Benchmarking localhost (be patient).....done +Server Software: Apache/1.3.33 +Server Hostname: localhost +Server Port: 80 + +Document Path: /projects/DRUPAL-HEAD/ +Document Length: 4959 bytes + +Concurrency Level: 1 +Time taken for tests: 3.879 seconds +Complete requests: 100 +Failed requests: 0 +Broken pipe errors: 0 +Total transferred: 542500 bytes +HTML transferred: 495900 bytes +Requests per second: 25.78 [#/sec] (mean) +Time per request: 38.79 [ms] (mean) +Time per request: 38.79 [ms] (mean, across all concurrent requests) +Transfer rate: 139.86 [Kbytes/sec] received + +Connnection Times (ms) + min mean[+/-sd] median max +Connect: 0 0 0.0 0 0 +Processing: 32 38 34.1 33 369 +Waiting: 31 38 34.1 33 369 +Total: 32 38 34.1 33 369 +Percentage of the requests served within a certain time (ms) + 50% 33 + 66% 34 + 75% 35 + 80% 35 + 90% 37 + 95% 40 + 98% 89 + 99% 369 + 100% 369 (last request) + -// Aggressive caching +// Agressive caching dvessel:~ joon$ ab -n 100 http://localhost/projects/DRUPAL-HEAD/ This is ApacheBench, Version 1.3d <$Revision: 1.73 $> apache-1.3 @@ -110,33 +108,31 @@ Document Length: 4959 bytes Concurrency Level: 1 -Time taken for tests: 3.042 seconds +Time taken for tests: 3.010 seconds Complete requests: 100 Failed requests: 0 Broken pipe errors: 0 Total transferred: 542500 bytes HTML transferred: 495900 bytes -Requests per second: 32.87 [#/sec] (mean) -Time per request: 30.42 [ms] (mean) -Time per request: 30.42 [ms] (mean, across all concurrent requests) -Transfer rate: 178.34 [Kbytes/sec] received +Requests per second: 33.22 [#/sec] (mean) +Time per request: 30.10 [ms] (mean) +Time per request: 30.10 [ms] (mean, across all concurrent requests) +Transfer rate: 180.23 [Kbytes/sec] received Connnection Times (ms) min mean[+/-sd] median max -Connect: 0 0 0.0 0 1 -Processing: 26 30 7.5 28 85 -Waiting: 14 29 7.0 28 74 -Total: 26 30 7.5 28 85 -ERROR: The median and mean for the initial connection time are more than twice the standard - deviation apart. These results are NOT reliable. +Connect: 0 1 5.0 0 51 +Processing: 26 29 6.2 28 89 +Waiting: 15 29 6.4 28 88 +Total: 26 30 11.2 28 140 Percentage of the requests served within a certain time (ms) 50% 28 66% 29 75% 29 - 80% 30 + 80% 29 90% 31 - 95% 37 - 98% 73 - 99% 85 - 100% 85 (last request) + 95% 33 + 98% 35 + 99% 140 + 100% 140 (last request)
This paste will be private.
From the Design Piracy series on my blog: