WordPress.org

Ready to get started?Download WordPress

Forums

P3 (Plugin Performance Profiler)
[resolved] Numbers to Shoot for, or Optimal Scores? (7 posts)

  1. MickeyRoush
    Member
    Posted 2 years ago #

    I'm testing this plugin and I've got the scan, but how do I tell if I have good numbers? Is my site optimal? Or should I try to disable some plugins to get a better score?

    For example:
    What is a good "Plugin load time"?
    What is a good "Plugin impact" score?
    How many "MySQL Queries" are too much?

    Under "Advanced Metrics" everything is "avg", is that good?

    In other words, can you recommend what a good score is? What should I try to obtain to make sure my site is optimal?

    Thanks!

    http://wordpress.org/extend/plugins/p3-profiler/

  2. Kurt Payne
    Member
    Plugin Contributor

    Posted 2 years ago #

    Hi Mickey,

    Here is some more info for you:

    Total plugins: I've seen recommendations for as little as 5, or as liberal as less than 20. Your plugins are up to you and what's important to your site.

    Note: When P3 is installed, even if it's not active, it can count as 1 plugin if you're using the must-use plugin loader. This is okay ... see the "Is this always running?" question in the help docs for more info.

    Plugin load time: Lower is better. This represents a delay for the end user. The higher this number is, the longer they are waiting. Some delays (10ms) won't be noticeable. Other delays (100-200ms) will feel noticeable.

    Here's more info from 2006 from Amazon that showed 100ms of latency = 20% loss in sales.

    Plugin impact: Lower is better. If your plugin impact is 1% then only 1% of the time WordPress is taking to create your page before it is sent to the browser is spent in plugins. If your plugin impact is 80% then WordPress is spending 80% of its time in plugins.

    If this number is higher than you think it should be, and you have plugins you can turn off, try turning them off and bringing this number down. It should bring your site's load time down, too.

    MySQL Queries: Fewer is better. A stock WordPress install is ~18-25. If you're seeing a much higher number here (like 150) then you may want to start disabling plugins until you may want to investigate further.

  3. MickeyRoush
    Member
    Posted 2 years ago #

    Great, thanks for the info and the plugin. With other tools, it will definitely help me troubleshoot and issue with plugins and performance. Thanks again.

  4. Lane Lester
    Member
    Posted 2 years ago #

    I also appreciate the thorough reply. My first try with P3 was a shocker in that WordPress Database Backup is using as much time as all of the other 22 plugins combined! I did two runs with the same result. Since I have backups only once/week, I don't understand the load from the plugin.

    Deactivating that plugin reduced my plugin load time from 1.2 to 0.5 seconds. I don't get it.

  5. SteveW928
    Member
    Posted 1 year ago #

    Hello all, I thought I'd post my results... maybe some others could do the same, so folks have some points of comparison.

    I'm on a pretty fast server, and got better results than the sample screen shots (not sure if the samples are at all typical or not). The server is a quad-core workstation class box with only a few sites on it and lots of RAM (though we've not optimized apache or php, etc. outside the default settings yet).

    Total plugins: 21
    Plugin load time: 0.296
    Plugin impact: 64%
    MySQL queries: 89

    Interestingly, almost 60% of my plugin time is Jetpack (with the rest being pretty tiny slices). I'm using several of its modules, so I'm not sure I can easily ditch it. But, since the overall results don't seem too bad, maybe I'm fine just leaving it alone.

    On a second run, things changed to:
    Total plugins: 21
    Plugin load time: 0.198
    Plugin impact: 49.6%
    MySQL queries: 91

    Jetpack about about 40%

  6. Kurt Payne
    Member
    Plugin Contributor

    Posted 1 year ago #

    Hi SteveW928,

    A quick note about Jetpack ... it pulls stats info quite frequently (every page load, I think) for the admin user. This is where a lot of the load time is coming from.

    For an anonymous user (or a user who can't see Jetpack stats), this wouldn't happen. I would recommend profiling with a manual scan and using a different browser (or, if you're in Chrome, use an incognito window) to surf your site as an anonymous user.

    You should see a different view of your site that way.

  7. SteveW928
    Member
    Posted 1 year ago #

    Thanks Kurt. I was a bit confused by that result, but pleased overall. I figured it was maybe just because of all the Jetpack modules (like a bunch of plugins). But, I was also thinking... Jetpack is by the WordPress people, for cryin' out loud! :) I'll have to try that manual scan if I can figure that out.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic