[development] Menu system work

Robert Douglass rob at robshouse.net
Mon Mar 5 09:34:56 UTC 2007


I wonder right off why HEAD's times are so much more level and 
predictable (smaller standard deviation) than 5's? Especially since my 
gut feeling is that 5 is much more predictable and regular than 4.7.

Congrats to chx and company for this work... it seems that Drupal 6 will 
indeed be faster than 5 by virtue of the menu rewrite.


Khalid Baheyeldin wrote:
> Here is a better set of data:
>
> HEAD
> ab2 -n20 http://head.example.com/| <http://head.example.com/%7C> egrep 
> "^Req|^Time"
>
> Time taken for tests:   1.16209 seconds
> Requests per second:    19.68 [#/sec] (mean)
> Time per request:       50.810 [ms] (mean)
> Time per request:       50.810 [ms] (mean, across all concurrent requests)
>
> Time taken for tests:   1.11599 seconds
> Requests per second:    19.77 [#/sec] (mean)
> Time per request:       50.580 [ms] (mean)
> Time per request:       50.580 [ms] (mean, across all concurrent requests)
>
> Time taken for tests:   1.10162 seconds
> Requests per second:    19.80 [#/sec] (mean)
> Time per request:       50.508 [ms] (mean)
> Time per request:       50.508 [ms] (mean, across all concurrent requests)
>
> Time taken for tests:   1.14755 seconds
> Requests per second:    19.71 [#/sec] (mean)
> Time per request:       50.738 [ms] (mean)
> Time per request:       50.738 [ms] (mean, across all concurrent requests)
>
> Time taken for tests:   1.11669 seconds
> Requests per second:    19.77 [#/sec] (mean)
> Time per request:       50.583 [ms] (mean)
> Time per request:       50.583 [ms] (mean, across all concurrent requests)
>
> 5
> ab2 -n20 http://5.example.com/| <http://5.example.com/%7C> egrep 
> "^Req|^Time"
> Time taken for tests:   2.672659 seconds
> Requests per second:    7.48 [#/sec] (mean)
> Time per request:       133.633 [ms] (mean)
> Time per request:       133.633 [ms] (mean, across all concurrent 
> requests)
>
> Time taken for tests:   1.87295 seconds
> Requests per second:    18.39 [#/sec] (mean)
> Time per request:       54.365 [ms] (mean)
> Time per request:       54.365 [ms] (mean, across all concurrent requests)
>
> Time taken for tests:   1.55900 seconds
> Requests per second:    18.94 [#/sec] (mean)
> Time per request:       52.795 [ms] (mean)
> Time per request:       52.795 [ms] (mean, across all concurrent requests)
>
> Time taken for tests:   0.887638 seconds
> Requests per second:    22.53 [#/sec] (mean)
> Time per request:       44.382 [ms] (mean)
> Time per request:       44.382 [ms] (mean, across all concurrent requests)
>
> Time taken for tests:   1.90529 seconds
> Requests per second:    18.34 [#/sec] (mean)
> Time per request:       54.526 [ms] (mean)
> Time per request:       54.526 [ms] (mean, across all concurrent requests)
>
>
> And here are two tests with 1000 requests each:
>
> ab2 -n1000 http://head.example.com/| <http://head.example.com/%7C> 
> egrep "^Req|^Time"
> Completed 100 requests
> Completed 200 requests
> Completed 300 requests
> Completed 400 requests
> Completed 500 requests
> Completed 600 requests
> Completed 700 requests
> Completed 800 requests
> Completed 900 requests
> Finished 1000 requests
> Time taken for tests:   33.209431 seconds
> Requests per second:    30.11 [#/sec] (mean)
> Time per request:       33.209 [ms] (mean)
> Time per request:       33.209 [ms] (mean, across all concurrent requests)
>
> ab2 -n1000 http://5.example.com/| <http://5.example.com/%7C> egrep 
> "^Req|^Time"
> Completed 100 requests
> Completed 200 requests
> Completed 300 requests
> Completed 400 requests
> Completed 500 requests
> Completed 600 requests
> Completed 700 requests
> Completed 800 requests
> Completed 900 requests
> Finished 1000 requests
> Time taken for tests:   37.155010 seconds
> Requests per second:    26.91 [#/sec] (mean)
> Time per request:       37.155 [ms] (mean)
> Time per request:       37.155 [ms] (mean, across all concurrent requests)
>
> On 3/4/07, *Khalid Baheyeldin* <kb at 2bits.com <mailto:kb at 2bits.com>> 
> wrote:
>
>     Here are my results.
>
>     Drupal 5, is today's checkout, HEAD is also today's checkout.
>
>     Used ab2 -n20 http://5.example.com
>     HEAD
>     Requests per second:    19.78 [#/sec] (mean)
>     Requests per second:    23.93 [#/sec] (mean)
>     Requests per second:    19.81 [#/sec] (mean)
>     Requests per second:    19.85 [#/sec] (mean)
>
>     Used ab2 -n20 http://head.example.com <http://head.example.com>
>     Drupal 5
>     Requests per second:    18.58 [#/sec] (mean)
>     Requests per second:    21.73 [#/sec] (mean)
>     Requests per second:    18.35 [#/sec] (mean)
>     Requests per second:    28.12 [#/sec] (mean)
>
>     Server is an AMD 64 3000+ with a SATA 7200 Disk with 1GB RAM
>     Ubuntu Edgy 6.10, Apache 2.0.55, MySQL 5.0.24, PHP 5.1.6
>
>
>     On 3/3/07, *Karoly Negyesi* < karoly at negyesi.net
>     <mailto:karoly at negyesi.net>> wrote:
>
>         It is there. Please try enabling all core modules in Drupal 5
>         and bench the front page as anon. Then try the same in Drupal
>         6-dev.I am really interested in results.
>
>         > In particular, we need benchmarking help, soon I will post a
>         simpler version which does a permission check for every menu
>         item. I wonder how bad that is...
>         >
>
>
>
>
>     -- 
>     2bits.com <http://2bits.com>
>     http://2bits.com
>     Drupal development, customization and consulting. 
>
>
>
>
> -- 
> 2bits.com <http://2bits.com>
> http://2bits.com
> Drupal development, customization and consulting. 


-- 
* * * * *
Lullabot's First Ever Advanced Workshops Are Here!
Drupal API & Module Building - Advanced Drupal Themeing
April 9th-13th - Providence, RI
Early Bird Discounts Available Now
http://www.lullabot.com/training
* * * * *



More information about the development mailing list