vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Microstats (only for admin) - load times, server loads, queries, uncached templates! (https://vborg.vbsupport.ru/showthread.php?t=59700)

atomic fireball 06-27-2004 04:37 PM

Thanks, Erwin.

Worked like a charm!

ShiningArcanine 07-07-2004 08:53 PM

Erwin, why not just replace $vartext with $output and then place the hack in phpinclude_end? It eliminates the need to hack functions.php and is executed right below where you recommend placing the hack.

Erwin 07-07-2004 11:40 PM

Quote:

Originally Posted by ShiningArcanine
Erwin, why not just replace $vartext with $output and then place the hack in phpinclude_end? It eliminates the need to hack functions.php and is executed right below where you recommend placing the hack.

Because putting it in phpinclude_end may not give you an accurate count of queries perhaps? And it may not work? I haven't thought about it, and haven't tried it - maybe you can try and compare the 2 and see if there is a difference.

ShiningArcanine 07-08-2004 01:22 PM

I tried it; there is no difference in query count and it works like a charm.

Erwin 07-08-2004 10:38 PM

There you go. :) Never thought it would work as well - the vB3 debug stats are all in functions.php, hence the reason why this hack went to the same spot too.

SaN-DeeP 07-10-2004 02:49 AM

hi erwin thnx for the nice hack :)

Version 1.1 works fine for me
Page generated in 0.21845 seconds with 10 queries [Server Loads: 0.24 0.23 : 0.18]

just a small question: as you specified in ur instructions.

Quote:

Information shown:
1) Page loading times
2) Number of Queries
3) Server Loads
4) Any Uncached Templates
were are these uncached templates seen ?

Regards,

Jolten 07-10-2004 04:25 AM

If their are uncached templates the number of them will be shown at the end of the line.. e.g. "2 queries for uncached templates"

Erwin 07-14-2004 12:30 PM

UPDATE:
-----------

Version 1.2 (servers with proc - more efficient) or Version 1.02 (servers without proc - still works)

-> now the names of all uncached templates show up - helpful to find and cached any uncached templates to save queries. :)

PET 07-14-2004 05:43 PM

On my forum i have 1.2. Now i hear of a 1.02. WTF ? What do i need to modify to have the new version, also, what new things this new version has ?

the Sandman 07-21-2004 05:20 PM

All of a sudden, I'm getting erroneous, very large load times listed:
Quote:

Page generated in 18,859 seconds with 11 queries [Server Loads: 0.69 1.66 : 2.03]


All times are GMT. The time now is 01:47 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01309 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete