The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
VB3 MicroStats Details »» | |||||||||||||||||||||||||
You asked for... but it was available for VB2 only? There you go, you have it now.
Looking for 3.5.4 version? Get it here. VERSION 1.2 RELEASED Basically the only difference you will notice is a dropdown menu that will display the unchached templates. In this way, you can add it to the cache and save one or more queries. [high]THIS HACK WAS TESTED IN A DEFAULT, CODE UNMODIFIED BOARD.[/high] This hack will add at the bottom of each vBulletin(powered) page the following stats: REGULAR USERS STATS - load time of specified page in microseconds (with custom no. of digits to show) - percentages of PHP/MySQL usage - number of queries executed ADMINISTRATOR STATS - number/name of uncached templates (name highlighted in blue, for uncached template) - vBulletin DEBUG mode status - server GZIP library compression status - average Server Loads [high]This is not only estethic, it will also help you troubleshoot any wierd queries that you have in your scripts.[/high] IMPORTANT If you get results like: Page generated in 3.35731196 seconds (9.05% PHP - [high]90.95%[/high] MySQL) with 17 queries You probably use a bad piece of code, because vBulletin will never generate those extreme results. Imagine this: the code uses only 10% the resources to read the actual PHP code and the rest of 90% is used only to scan the tables... WOW! That means the code forces to read into the database for each user who visits the site at this percentage... if you have 1000 users viewing the page in the same time.. you can get a picture of it... If you compare this with vBulletin, the software does the opposite, 90% PHP and 10% MySQL... the right way. DIVISION BY ZERO ERROR? Read this. INVALID STATS IF MYSQL COMPILED IN A NON-ENGLISH LANGUAGE? Read this. NOTE: The blue highlighting is not working in Opera 7.23 version. (Thanks Christine) Have fun. Show Your Support
|
Comments |
#112
|
|||
|
|||
Right, I've updated, but I can't figure out what template is uncashed, there's a 1 next to all of them. See screenshot.
|
#113
|
||||
|
||||
Thanks Teck.
I just removed Erwins' stats and installed yours... much more info [high]* BarBeQue clicks install[/high] |
#114
|
||||
|
||||
PHP Code:
|
#115
|
||||
|
||||
Quote:
: |
#116
|
||||
|
||||
Quote:
I noticed that without the update installed, only cause i had the board inactive, and when the board is active i have no uncached templates. |
#117
|
||||
|
||||
Quote:
As Christine mentioned, the uncached template is highlighted in blue. The "board_incative_warning" template is not cached for server performace matter, and is not something the VB devs forgot. Let me explain the way it works with the memory server cache so you understand a little better the process. VB software uses/creates a cache, like a sort of temp folder where is stored important information that is used several times, same like in Windows. All this information is stored temporarily in the VB database (that is also sanitized on a regular basis by the VB software), so it eliminates the need to scan the tables several times for the same information resulting an increase of the server load. For example, on the forum frontpage, if you open it for the first time, there will be far more queries performed instantly (14 instead of 8), then when you visit it for the second time, due to the cache process, all temporary information is stored in the "temp" database. Now, why all templates are NOT cached? The VB devs created a balance between the software and server. In other words, they used this aproach: If an information is used less then 95% of the cases, there is no need to store it in the server memory/database, because most likely is not very often used, like your "board closed" template. They prefered to trade it for a query, instead of loading it into a temp process, when you use it only once every 500 cases... That's why you will notice some uncached templates sometimes. I hope this information helped you to understand better the cache process. |
#118
|
||||
|
||||
Quote:
Is extremly intense on the table scans... Holly molly... Quote:
Compare it yourself with any forums page. As soon as you go over 20% MySQL, you got to ask yourself what bad code you added there to perform table scans that generate those results... |
#119
|
||||
|
||||
Teck -- So you know, the blue highlighting isn't working in Opera 7.23. It is fine in IE 6 and FireFox 0.8.
Just in case you get any questions from folks who aren't seeing which template is the issue -- it may be their browser. |
#120
|
||||
|
||||
Quote:
it looks like the vBindex portal, but he has no copywrite info at the bottom, so i dont know. as for the vBindex portal, this is what i get on portal home, Page generated in 6.73733711 seconds (5.21% PHP - 94.79% MySQL) with 17 queries NO Uncached Templates | DEBUG Mode OFF | GZIP ON (level 1) | 0.31 : 0.13 : 0.09 The slow loadtime is only because of the weather block i have on the portal home. if I remove it. Page generated in 3.35731196 seconds (9.05% PHP - 90.95% MySQL) with 17 queries NO Uncached Templates | DEBUG Mode OFF | GZIP ON (level 1) | 1.11 : 0.31 : 0.15 is what i get. I'm sure NTLDR's code is fine. but I'm no coder, so i wouldn't know. |
#121
|
|||
|
|||
Thank you very much TECK, that did help a great deal. You were, I do have 3 categories and 9 forums with 2 sub-forums
Thanks a lot again |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|