[development] performance foo

Piotr Krukowiecki piotr at mallorn.ii.uj.edu.pl
Wed Dec 14 18:51:39 UTC 2005


On Wed, Dec 14, 2005 at 12:48:07PM -0600, Chris Johnson wrote:
> I just did the same tests on the inverse routine, array2object() versus 
> cast (object).  The cast appears to be 4 times faster:
> 
> 10000 'array2object' calls took 4.38 seconds.
> The average was 0.00043776 seconds per call.
> 
> 10000 'cast object' calls took 1.05 seconds.
> The average was 0.00010541 seconds per call.
> 
> Rolling more patches.  See Issue #41169 (http://drupal.org/node/41169).

And how many calls to array2object and object2array there are on
average/max page?


-- 
Piotrek
irc: #debian.pl
Mors Drosophilis melanogastribus!


More information about the development mailing list