vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Administrative and Maintenance Tools - (vB4) What's Slowing Down My Forum? (Slow Plugins Finder) (https://vborg.vbsupport.ru/showthread.php?t=324918)

vBNinja 04-13-2017 09:00 PM

(vB4) What's Slowing Down My Forum? (Slow Plugins Finder)
 
1 Attachment(s)
One of the major causes of unhappy members/visitors is a slow forum!

Click here for the vB3 version

Since vB doesn't have all the necessary features out of the box, every forum has dozens of plugins installed. However, some of those plugins can cause more bad than good by significantly increasing load time due lack of optimization / poor code.

I developed this AdminCP tool to help find those plugins and speed up your forums.

It works by analyzing page load time in the most popular pages (activity.php, blog.php, content.php, forum.php, forumdisplay.php, member.php, profile.php, showthread.php, usercp.php), enabling 1 product at a time and comparing it to load times with all plugins disabled.

All of this happens without actually disabling any products/plugins, so no need to worry about your forum breaking while the test is running.

Installation is simple, upload the contents in the "UPLOAD" folder to the forum root and import the XML file in the "XML" folder.
You will see a new tab in the AdminCP called "Slow Plugins". From there you can view previous test results and run new tests.

Let me know if you have questions/comments/suggestions/feedback

Also, please remember to "Mark As Installed" and rate for support & future updates.

Enjoy :)

vBNinja 04-14-2017 11:06 AM

Reserved

Alan_SP 04-14-2017 01:01 PM

Thanks, great idea. :up:

djbaxter 04-14-2017 01:22 PM

Just installed. Got this

ERROR:


Code:

Database error in vBulletin 4.2.4:

Invalid SQL:

                SELECT plugin.*
                FROM {PREFIX}plugin
                WHERE
                    active = 1
                    AND phpcode <> ''
                    AND product IN {DELETED})
                ORDER BY hookname ASC, executionorder ASC;

MySQL Error  : Unknown table '{ACCOUNT}_forum.plugin'
Error Number  : 1051
Request Date  : Friday, April 14th 2017 @ 03:18:07 PM
Error Date    : Friday, April 14th 2017 @ 03:18:08 PM
Script        : {MY FORUM url}/admincp/slowplugins.php?do=runtest_2
Referrer      : {MY FORUM url}/admincp/slowplugins.php?do=run
IP Address    : {myip}
Username      : {MY USERNAME}
Classname    : vB_Database_MySQLi
MySQL Version : 10.0.30-MariaDB


vBNinja 04-14-2017 05:23 PM

Quote:

Originally Posted by djbaxter (Post 2585296)
Just installed. Got this ERROR:

I just made a change, please download it again and re-upload the files
Let me know how it goes :)

Stratis 04-14-2017 07:02 PM

Very nice, clever and useful mod.
Works well in vb 4.2.0 pl4

Thanks for sharing.

Dave 04-14-2017 07:53 PM

Interesting plugin, definitely useful for debugging purposes and finding out which plugins are causing the forum to slow down.

djbaxter 04-14-2017 10:45 PM

Yes the new version works.

Great add-on. It allowed me to find 10 add-ons that were each adding more than 10% to page loads and that I didn't need - a couple that were only for older versions of vBulletin and a couple I didn't realize were still installed. :)

If they still had mod of the month, this would have been worthy of a nomination and vote.

Thank you.

Cem01 04-15-2017 08:39 AM

Great plugin. I got it run.

The results are surprising. A plugin about subforum columns cause the forum slow. I deactivated it. :)

Thank you so much ;)

chloe101 04-29-2017 01:32 AM

Installed and loving it. It allowed me to make intelligent decisions about a few plugins. Thank you!

djbaxter 05-13-2017 05:58 PM

Yes. You just run it from the ACP.

vBNinja 05-14-2017 05:04 PM

Quote:

Originally Posted by X-or (Post 2586505)
@vBNinja Can we safely run the test without closing the forum first?

This product gives a lot of strange results with plugins having significant impact on scripts where they aren't supposed to be used at all.

Yes

BadgerDog 05-15-2017 10:51 AM

1 Attachment(s)
Downloaded an installed for testing....

When running test, constantly freezes at 1% done and sits there forever...

Un-installed with thanks effort to developer...

Regards,
Doug

BadgerDog 05-15-2017 11:13 AM

Never mind... found the un-install of the XML right at the botton of plug-ins starting with a "W" ... ;)

Thanks.. :)

Regards,
Doug

ikymbo 05-25-2017 06:37 PM

Thanks i like this mod (y)

bridge2heyday 05-25-2017 07:08 PM

Very Nice Idea

Max Taxable 05-27-2017 03:56 AM

Anyone who's renamed admincp is going to have lots of issues with this, as far as errors. This after putting the correct "showplugins.php" script into the renamed file.

Example:

Fatal error: Call to undefined function array_replace() in /home/content/22/5444333/html/(newacpname)/slowplugins.php on line 425

CAG CheechDogg 05-27-2017 08:03 AM

Quote:

Originally Posted by Max Taxable (Post 2587009)
Anyone who's renamed admincp is going to have lots of issues with this, as far as errors. This after putting the correct "showplugins.php" script into the renamed file.

Example:

Fatal error: Call to undefined function array_replace() in /home/content/22/5444333/html/(newacpname)/slowplugins.php on line 425

I have renamed mine and I have no error .... how do you duplicate it? Does it just pop up in the backend?

Max Taxable 05-27-2017 02:26 PM

Quote:

Originally Posted by CAG CheechDogg (Post 2587010)
I have renamed mine and I have no error .... how do you duplicate it? Does it just pop up in the backend?

Yes, that one and another, while the scan is being run.

"Warning: array_combine() [function.array-combine]: Both parameters should have at least 1 element in [path]/(newacpname)/slowplugins.php on line 134"


These look like just, php version issue warnings. But, I don't get any results listed, from the testing when it is finished. Just the warning I first posted.

CAG CheechDogg 05-27-2017 06:24 PM

Hmmm ... I am going to have to run the test again and pay close attention lol ... it's a very long test lol ..

SilverBoy 07-30-2017 03:49 PM

Is this product tests CMS and Blog too? or just forum?

djbaxter 07-30-2017 08:33 PM

Quote:

Originally Posted by SilverBoy (Post 2589000)
Is this product tests CMS and Blog too? or just forum?

It tests plugins. Doesn't matter where they are used.

SilverBoy 07-31-2017 03:16 PM

Thank you djbaxter, I didn't note content.php in the pages list which vBNinja wrote in his post, that is why I asked.

wolfe 08-01-2017 09:23 AM

It seems to give added time for addons that are not even called on the php file tested ?

X-or 08-05-2017 02:38 PM

Quote:

Originally Posted by wolfe (Post 2589050)
It seems to give added time for addons that are not even called on the php file tested ?

Yes the results make no sense at all.

I have decided to test the product further on my htaccess protected test site, to avoid any potential disturbance due to users activity, and I did increase the number of tests to 100 to improve accuracy (according to the plugin instruction).

I did two series of tests, each took over an hour. And the variations of the results between the two series of tests were so large that it is not possible to consider this product accurate.

Don't use this product, it is not reliable.

Brandon Sheley 08-10-2017 12:13 PM

Nice addon, thanks for sharing :)

X-or 01-27-2018 02:46 PM

Can someone audit this plugin for potential malicious code?
The nonsensical results of this plugin and the apathy of the author are worrying me a lot.
Here's a mirror : https://www.sendspace.com/file/05icvb


All times are GMT. The time now is 02: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
  • Page Generation 0.01348 seconds
  • Memory Usage 1,780KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (27)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete