1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
|
@@ -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)
|