![]() |
Timing SQL queries
I'm working on a hack for my forums and have worked out how I would like to implemented and have tested it sucessfully. However I'm worried about the efficiency of deploying it across the board on by forums, as it alters one of the core SQL queries, so even if this particular hack wasn't in use at the time it could potentially slow down the forums.
Is there some way I can quantifiably measure how long a query using the standard vs the modified SQL statement takes. So I can judge if it's worthwhile rolling it out on a larger scale. |
Take a look at db_mysql.php from vBulletin, especially the query() method there. It does what you neeed.
|
All times are GMT. The time now is 07:05 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|