a little performance test
(even with enabled xcache in drupal settings.php !!!!!)
anonymous user!!! no devel modules

dev2# ab -c5 -n1000 "http://localhost/ajaxify_regions/ajax?blocks=user-0" 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 localhost (be patient)

Server Software: Apache/2.2.16
Server Hostname: localhost
Server Port: 80

Document Path: /ajaxify_regions/ajax?blocks=user-0
Document Length: 2152 bytes

Concurrency Level: 5
Time taken for tests: 27.926 seconds
Complete requests: 94
Failed requests: 0
Write errors: 0
Total transferred: 258782 bytes
HTML transferred: 202288 bytes
Requests per second: 3.37 [#/sec] (mean)
Time per request: 1485.424 [ms] (mean)
Time per request: 297.085 [ms] (mean, across all concurrent requests)
Transfer rate: 9.05 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 1 7.1 0 53
Processing: 574 1439 631.8 1403 3118
Waiting: 574 1437 631.5 1403 3118
Total: 575 1440 631.2 1403 3118

Percentage of the requests served within a certain time (ms)
50% 1403
66% 1646
75% 1846
80% 1914
90% 2182
95% 2830
98% 3059
99% 3118
100% 3118 (longest request)

Comments

xdemocle’s picture

subscribing

csevb10’s picture

Status: Active » Closed (works as designed)

To some degree this is to be expected. The ajax blocks load Drupal as an instance, so they will never be as efficient as a completely streamlined approach to returning content. Basically, Ajax blocks will be confined by the same behavior constraints of loading Drupal, HOWEVER, if you cache the rest of the page and only need to load Drupal for the ajax blocks, you still see improved performance vs. loading the entire page using Drupal.

Since I'm not really maintaining this anymore (it's for D6 and we're almost at D8), I'm not sure it's worth showing benchmarks, but try running an e-commerce (ubercart) D6 site without anything, then try it with boost & ajaxify_regions. The difference is readily apparent.