[wp-hackers] Cache solution for WPMU?

Andy Skelton skeltoac at gmail.com
Thu Sep 21 02:13:41 GMT 2006


On 9/20/06, Roland Haeder <webmaster at mxchange.org> wrote:
> Hmmm, the elapsed times are differing very much between two cached executions
> or between two uncached execution. :-( Is there a way of measuring the
> execution time where you can count on?

Zend's Studio software has a script profiling tool that works very
well for this purpose.

The last time I ran the profiler, the function with the worst
performance was remove_accents. I resolved this by adding a fast
preg_match at the top of remove_accents and the profiler indicated wp
loaded a few percent faster. So it's a good tool.

Now, about your pages taking 20 seconds to generate. That is almost 20
seconds too long unless the server is a Commodore 64. I don't believe
you are running 20+ plugins and you haven't found THE ONE that is
causing this. Nothing in WordPress is that slow.

Have you tried var_dump($wpdb) on wp_footer to find badly-written
queries, insane joins, or tables that could use an extra index? Have
you called the datacenter to ask if somebody over-watered the ficus or
something? ;-)

Cheers,
Andy


More information about the wp-hackers mailing list