WordPress Plugins Behaving Badly, And What To Do To Fix It!

So I recently migrated one of my friends’ websites off of DigitalOcean onto Amazon’s ElasticBeanstalk, mainly because I was tired of maintaining aging, and unstable, MySQL instances over 2 years old that I was kicking over every day with a cron job (yes, cron, it was that bad, hah!).

Migrating over to a t2.nano configuration went great, and, with EFS and RDS counting towards my overhead costs for all the nano sites I run on aws, this friend’s site brought the hosting bill down to under $5/mo (http://bit.ly/2cvx7qf), soweeet!!!

But wait, what the #!!@#? This is the only site that takes forever to load over the last half a dozen I’ve migrated up to ElasticBeanstalk? What’s up with that?

So I decide to investigate with P3, the Plugin Performance Profiler (https://wordpress.org/plugins/p3-profiler/) and found this:

p3-initial-scan-oh

 

So, like described in the below video, I kept on going back and forth, deactivating and re-activating various plugins, until I found the two offenders:

  1. Captcha by BestWebSoft (added over 1 second to every page view)
  2. Optin Forms (added over 0.5 seconds to every page view)

[embedyt] http://www.youtube.com/watch?v=lGQlBxEPQ4o[/embedyt]

Good News

smithers-good-news

So, what was the result after all of this?

good-scan

 

Deactivate and Re-Activate Log

Here is the process I went through to come to the above conclusion:

 

WP Super Cache — diff = worse
WP Smush — diff = worse
Google Analytics Dashboard for WP — diff = just as bad

multi-diff:
WordPress Related Posts
UpdraftPlus – Backup/Restore
Search Meter
PopupAlly
Jetpack by WordPress.com

= now only approaches 4 second plugin time instead of 5 seconds

 

multi-diff 2:
Akismet
Anti-spam
Captcha by BestWebSoft
Contact Form 7
Disable Comments
Disqus Comment System

= Got everything under 0.5 seconds plugin time, on average, with slightly over 1.5 at tail

 

multi-diff 3:
Facebook Members
MailPoet Newsletters
Newsletter
Optin Forms

= Almost all under 0.25 seconds! Something in this group needs to go (only 43 queries per visit)!

 

RE-ACTIVATION TESTS

Re-activate:
WP Super Cache
WP Smush
Google Analytics Dashboard for WP

= no change, these plugins don’t negatively impact site performance, cool (slightly over 0.25 seconds plugin time with 60 MySQL Queries per visit)!

Re-activate:
WordPress Related Posts
UpdraftPlus – Backup/Restore
Search Meter
PopupAlly
Jetpack by WordPress.com: Need to re-sign in (may have skewed this P3 scan results slightly by not being signed in during scan)

= imperceptible change, they are good to go, leave activated!

Re-activate Akismet = imperceptible, keep it activated!
Re-activate Anti-spam = imperceptible, keep it activated!
Re-activate Captcha by BestWebSoft = OFFENSIVE! ADDED OVER 1 SECONDS TO PLUGIN TIME! AAAAAAHHHHHH!!!!!

As lemongrab would say:

lemongrab-unacceptable

 

Sorry Captcha by BestWebSoft, you have to stay de-activated, for the sake of performance emoji-laugh

 

Re-activate Contact Form 7 = imperceptible, keep it!
Re-activate Disable Comments = imperceptible, keep it!
Re-activate Disqus Comment System = imperceptible, keep it!

Re-activate Optin Forms = hmmm, clearly increased Plugin time increased up to 0.5!

lemongrab-unacceptable2

 

Sorry, but this should stay de-activated due to poor performance emoji-sad

Re-activate MailPoet Newsletters = imperceptible, keep it!
Re-activate Newsletter = imperceptible, keep it!
Re-activate Facebook Members = imperceptible, keep it!

Leave a Reply

Your email address will not be published. Required fields are marked *

*