Page 1 of 1

Display DB queries and so on..

Posted: Mon Jun 20, 2005 2:22 pm
by commanderx
Hi,

i just installed Turck MMcache on my host, and now i want to know if its usefull.
So...is it possible to include a little Statistic in the output?
Maybe at the bottom?
I had this in Wordpress and its like this from a Woltlab Burning Board Site:

Seitenaufbauzeit: 1.029s » Datenbankabfragezeit: 0.945s » Datenbankabfragen: 51

Greetings...

Re: Display DB queries and so on..

Posted: Mon Jun 20, 2005 6:05 pm
by garvinhicking
You should look at the Turck MMCache output which is already fine.

The problem with the extra messages printed by those tools is that it is not helpful at all, as the page generation time is also bandwidth dependant. You can edit your index.php file and set the top $global_debug variable to true which will output those stats.

The number of DB queries is not calculated, as it's not needed and would cost extra performance. The number would also not be that terribly helpful.

Actually the best way to benchmark those things is to use extra debuggers like xdebug or apd, which can all better display the impact of the cache.

Btw, BTW, Turck or APC or tools like that hugely (positively) impact the performance of s9y

Regards,
Garvin

Posted: Mon Jun 20, 2005 9:24 pm
by commanderx
Thanks for your reply.
Ill ask my good friend google for those debuggers :).