The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Benchmark plugins?
Is there any way to benchmark plugins... just log the time they take to execute or something?
I am guessing NOT (easily?), since it looks like: ($hook = vBulletinHook::fetch_hook('showthread_start')) ? eval($hook) : false; There is no easy way to arbitrarily inject some code before and after (microtime calls) hook execution... right? |
#2
|
|||
|
|||
Seems like maybe you could change fetch_hook to add timing code around the code for each hook. But it looks like it has the code for all plugins on that hook in one chunk, so if you wanted to benchmark just one plugin you'd have to disable others at the same hook, or else put in the profiling code in vBulletinHook::build_data_store().
|
#3
|
|||
|
|||
Quote:
Looks like that could work. At least I could find out what is taking long(er) and narrow it down from there.. merci |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|