The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Ok.. I like the hack. Great hack, but I'm curious to see how my numbers stack up and what if anything would be wrong. The numbers seem strange to me (but then again), I don't know what they mean fully.. Guess I should start with that.
vbPortal Front Page : 0.4795480 seconds (87.41% PHP - 12.59% MySQL) Forums Front Page : 0.1290790 seconds (77.19% PHP - 22.81% MySQL) Is it better to have higher PHP % or MySQL %? Does it matter? Thanks Josh |
#2
|
||||
|
||||
![]()
i believe that it is better to have a higher PHP one as the script will then need to run more queries if there is more MySQL ones and it will slow the loading of the page
![]() |
#3
|
|||
|
|||
![]()
Yeah, this is something I'm trying to figure out as well, I've had as high as 94% PHP and 6% MySQL, but no definitive answer yet.
Your explanation does make sense though Thanks Josh |
#4
|
|||
|
|||
![]()
The percent is calculated by the time spent to execute the script - time to do queries ?
|
#5
|
||||
|
||||
![]()
What really matters is the total time the page takes to execute...
|
#6
|
|||
|
|||
![]()
Here's how I use it for www.computergames.ro
$time = round (($time_end - $time_start), 4); $time_q = round($db->get_query_time(), 4); // time MySQL $time_p = $time - $time_q; // time PHP $percentage_q = round($time_q * (100/$time), 2); $percentage_p = round($time_p * (100/$time), 2); |
#7
|
||||
|
||||
![]() Quote:
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|