Support » Plugin: Email Users » Major performance degradation after update from 4.6.7 to 4.8.2

  • After upgrading a client’s WordPress version from 3.8 to 4.5.3 and updating the Email Users plugin from 4.6.7 to the latest 4.8.2, we experienced a major degradation in performance when loading the admin page. I installed P3 to understand what was causing the performance degradation and it indicated that Email Users was adding over 3 seconds to each page load. After disabling the plugin in our QA site, the page load dropped from 3.8 seconds to 0.6 seconds.

    Here is the breakdown timing graph with the Email Users plugin enabled:
    http://i.imgur.com/e0pupyB.png

    Here is the breakdown timing graph with the Email Users plugin disabled:
    http://i.imgur.com/zu2hLZp.png

    You can see that with the plugin disabled, the total page load time dropped drastically. The profiling operation was run on the exact same pages under the same load conditions.

    Here are the list of plugins I currently have installed on the server:

    • Contact Form 7
    • Fusion Core
    • Quick Page/Post Redirect Plugin
    • Revolution Slider
    • Share Per View
    • WooCommerce
    • WooCommerce – Autocomplete Orders
    • WooCommerce Checkout Manager
    • WooCommerce Export Customer Email
    • WP Video Lightbox
    • Yoast SEO

    Please let me know if you need any additional information that I can provide.

    https://wordpress.org/plugins/email-users/

Viewing 1 replies (of 1 total)
  • Plugin Author Mike Walsh

    (@mpwalsh8)

    There have been 18 releases between 4.6.7 and 4.8.2 so it is hard for me to even guess what changed that might explain the performance difference. Some questions:

    1. Was this measurement taken on the Dashboard?
    2. If so, what happens if you disable the Email Users Dashboard widgets?
    3. How many users does your site have? The only query instensive operation Email Users does is retrieve the list of users from the database. If you have a lot of users it could take a while but Email Users relies on the WordPress get_users() function.

    If you put Email Users in debug mode (it is a setting on the plugin settings page) Email Users will report some query statistics as HTML comments in the page where the query is run (e.g. Email Users > Send to Users). You have to view the HTML source to see the comments – they appear in the area of HTML code where the drop down list is constructed of potential recipients.

    There was some work done to divide the query into chunks because some sites with large numbers of users (~10k) were running out of memory.

Viewing 1 replies (of 1 total)
  • The topic ‘Major performance degradation after update from 4.6.7 to 4.8.2’ is closed to new replies.