Just having the plugin system turned on uses extra queries. A good programmer ca hack vbulletin in such a way as to add few if any extra queries, but the system itself is what adds the extra queries.
Quote:
|
Quote:
Remember that the number of queries is almost irrelevant for performance, it is the execution time that counts. |
Seems to me that just putting the plugin code in a php file and replacing it with
include('./plugins/my_script.php'); Doesn't work 100% |
Nobody ever said that things would work without any modification.
|
1. Turning the Plugin System On or Off does not have any impact on the amout of queries.
2. Memory Footprint is not a such a big issue. In most cases, forumcache (which is loaded on every page) for example will be a lot bigger then the plugins. Having to eval() the code all the time, that is an issue. Therefore, complex plugin code (especially in high-traffic places like global.php, postbit, showthread, forumdisplay, etc.) should be moved out to include files. (Could even be done automatically. I wrote a proof-of-concept hack that writes include-files if the plugin-code on one hook is > X bytes long.) |
Quote:
If you use PHP Code:
|
Quote:
And then estakis referral stats. That one works, half way. It's depositing all the code in raw format on the page. Crazy I tell ya. |
Erm ... are you sure you put
Code:
<?php |
Quote:
|
|
All times are GMT. The time now is 10:28 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|