public marks

PUBLIC MARKS from kasi77 with tags php5 & benchmark

June 2008

in_array is quite slow

So, we had a cron job hanging for hours. No idea why. So, I started debugging. It all came down to a call to in_array().

February 2008

November 2007

Benchmarking magic | GarfieldTech

The day is nearly upon us! Drupal 7 will open up developers to PHP 5 functionality when it is released next year. Already, there is talk of how, and if, to leverage PHP 5's object handling now that we don't need to deal with the weirdness of PHP 4's object model. Of course, because it's Drupal, our army of performance czars want to know just what the cost is for object handling, and especially advanced object magic like __get(), __call(), the ArrayAccess interface, and so forth.