[Zope-CMF] Accessing skins objects
Charlie Clark
charlie at begeistert.org
Tue Feb 10 10:28:54 EST 2009
Am 10.02.2009 um 14:36 schrieb Tres Seaver:
> You could try changing the view to call 'index_html' instead of
> '__str__', and see if that helps. If it does, then I think there must
> be a RAM cache in play somewhere.
I actually reckon it's an anomaly down to my rather unscientific
testing with wget. Using Apache's ab I get the following results for
100 requests with 10 concurrent:
Using a PythonScript:
Document Path: /kinopolis/css/styles.css
Document Length: 381936 bytes
Concurrency Level: 10
Time taken for tests: 5.148 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Total transferred: 38234100 bytes
HTML transferred: 38193600 bytes
Requests per second: 19.43 [#/sec] (mean)
Time per request: 514.787 [ms] (mean)
Time per request: 51.479 [ms] (mean, across all concurrent
requests)
Transfer rate: 7253.10 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 1.6 0 15
Processing: 138 501 111.9 493 813
Waiting: 125 459 106.6 453 783
Total: 139 501 112.0 493 813
Percentage of the requests served within a certain time (ms)
50% 493
66% 548
75% 572
80% 600
90% 644
95% 716
98% 724
99% 813
100% 813 (longest request)
Using a BrowserView:
Document Path: /kinopolis/kinopolis.css
Document Length: 238676 bytes
Concurrency Level: 10
Time taken for tests: 2.346 seconds
Complete requests: 100
Failed requests: 99
(Connect: 0, Receive: 0, Length: 99, Exceptions: 0)
Write errors: 0
Total transferred: 40933800 bytes
HTML transferred: 40914700 bytes
Requests per second: 42.63 [#/sec] (mean)
Time per request: 234.559 [ms] (mean)
Time per request: 23.456 [ms] (mean, across all concurrent
requests)
Transfer rate: 17042.33 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.8 0 3
Processing: 58 233 68.5 229 386
Waiting: 14 39 29.9 32 181
Total: 58 233 68.7 229 386
Percentage of the requests served within a certain time (ms)
50% 229
66% 259
75% 281
80% 294
90% 318
95% 363
98% 378
99% 386
100% 386 (longest request)
These figures tally in with the Profiler's results although I'm not
quite sure where the difference in document length comes from.
Thanks very much for the tip.
Charlie
--
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226
More information about the Zope-CMF
mailing list