WordPress.org

Ready to get started?Download WordPress

Forums

Simple Share Buttons Adder
[resolved] performance issue (7 posts)

  1. scruffy1
    Member
    Posted 1 year ago #

    Hi

    I hate to say this, but I ran P3 (not the club from charmed) but the performance profiler, it brought up two plugins with performance issues

    1) is a lightbox which is in the process of being fixed

    2) is your wonderful plugin it was taking 1.67 seconds to load and using 36% of runtime

    I am happy to email you a copy of the output report, I so want this plugin to be 100% wonderful, not sure if it can be tweaked in any way or if something else is conflicting to slow it down ?

    thanks

    http://wordpress.org/extend/plugins/simple-share-buttons-adder/

  2. David Neal
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    I'd be curious to see the report if you could provide that for me please, perhaps share in a text file via this site - http://ge.tt/

    Can you set the plugin to run diagnostics on a specific page? I'm wondering if it runs it on the homepage by default. If so, I wonder if the products on the left hand side have set excerpts or if your woocommerce theme is loading all those posts data(including the share buttons) and displaying just some of it?

    David

  3. scruffy1
    Member
    Posted 1 year ago #

    hi I dont fancy signing up for yet another site lol I have too many of them now lol

    here is the info

    1) running the plugin

    Report date: May 25, 2013
    Theme name: WooStore
    Pages browsed: 2
    Avg. load time: 2.8768 sec
    Number of plugins: 29
    Plugin impact: 81.92% of load time
    Avg. plugin time: 2.3565 sec
    Avg. core time: 0.1435 sec
    Avg. theme time: 0.1655 sec
    Avg. mem usage: 69.00 MB
    Avg. ticks: 94,041
    Avg. db queries : 157.50
    Margin of error : 0.2113 sec

    Plugin list:
    ===========================================
    P3 (Plugin Performance Profiler) - 0.0008 sec - 0.03%
    Remove Comments Are Closed - 0.0906 sec - 3.84%
    Sidebar Login - 0.0101 sec - 0.43%
    Simple Lightbox - 0.6541 sec - 27.76%
    Simple Share Buttons Adder - 0.8389 sec - 35.60%
    Synmedia Woocommerce Rewards - 0.0087 sec - 0.37%
    Testimonials By Woothemes - 0.0054 sec - 0.23%
    UK Cookie Consent - 0.0060 sec - 0.25%
    UpdraftPlus - Backup/Restore - 0.0073 sec - 0.31%
    Use Google Libraries - 0.0136 sec - 0.58%
    Wangguard - 0.0149 sec - 0.63%
    Wc Gateway Nochex - 0.0038 sec - 0.16%
    Woocommerce Currency Converter Widget - 0.0051 sec - 0.22%
    WooCommerce Print Invoices & Delivery Notes - 0.0045 sec - 0.19%
    Woocommerce Dynamic Gallery Pro - 0.0115 sec - 0.49%
    Woocommerce Email Inquiry Cart Options Pro - 0.0193 sec - 0.82%
    WooCommerce Pro Shipping - 0.0052 sec - 0.22%
    Woocommerce Products Predictive Search Pro - 0.1472 sec - 6.24%
    WooCommerce - 0.2855 sec - 12.11%
    WooSidebars - 0.0072 sec - 0.30%
    WooThemes Updater - 0.0027 sec - 0.11%
    Wordfence Security - 0.1196 sec - 5.08%
    Wordpress Seo - 0.0119 sec - 0.50%
    Wp Email Template Pro - 0.0318 sec - 1.35%
    Wp Robots Txt - 0.0059 sec - 0.25%
    WP to Twitter - 0.0134 sec - 0.57%
    Xml Sitemap Feed - 0.0227 sec - 0.96%
    Easy Contact Forms - 0.0083 sec - 0.35%
    Dvin Wcwl - 0.0007 sec - 0.03%

    2) Not running plugin

    Report date: May 25, 2013
    Theme name: WooStore
    Pages browsed: 2
    Avg. load time: 2.0735 sec
    Number of plugins: 28
    Plugin impact: 78.24% of load time
    Avg. plugin time: 1.6224 sec
    Avg. core time: 0.0561 sec
    Avg. theme time: 0.1733 sec
    Avg. mem usage: 68.50 MB
    Avg. ticks: 93,114
    Avg. db queries : 155.50
    Margin of error : 0.2218 sec

    Plugin list:
    ===========================================
    P3 (Plugin Performance Profiler) - 0.0008 sec - 0.05%
    Remove Comments Are Closed - 0.2138 sec - 13.18%
    Sidebar Login - 0.0087 sec - 0.53%
    Simple Lightbox - 0.6696 sec - 41.27%
    Synmedia Woocommerce Rewards - 0.0090 sec - 0.55%
    Testimonials By Woothemes - 0.0054 sec - 0.33%
    UK Cookie Consent - 0.0060 sec - 0.37%
    UpdraftPlus - Backup/Restore - 0.0075 sec - 0.46%
    Use Google Libraries - 0.0136 sec - 0.84%
    Wangguard - 0.0150 sec - 0.92%
    Wc Gateway Nochex - 0.0037 sec - 0.23%
    Woocommerce Currency Converter Widget - 0.0061 sec - 0.37%
    WooCommerce Print Invoices & Delivery Notes - 0.0046 sec - 0.28%
    Woocommerce Dynamic Gallery Pro - 0.0115 sec - 0.71%
    Woocommerce Email Inquiry Cart Options Pro - 0.0198 sec - 1.22%
    WooCommerce Pro Shipping - 0.0052 sec - 0.32%
    Woocommerce Products Predictive Search Pro - 0.1644 sec - 10.13%
    WooCommerce - 0.2991 sec - 18.43%
    WooSidebars - 0.0072 sec - 0.44%
    WooThemes Updater - 0.0025 sec - 0.15%
    Wordfence Security - 0.0349 sec - 2.15%
    Wordpress Seo - 0.0120 sec - 0.74%
    Wp Email Template Pro - 0.0516 sec - 3.18%
    Wp Robots Txt - 0.0058 sec - 0.36%
    WP to Twitter - 0.0128 sec - 0.79%
    Xml Sitemap Feed - 0.0229 sec - 1.41%
    Easy Contact Forms - 0.0085 sec - 0.53%
    Dvin Wcwl - 0.0007 sec - 0.04%

    bearing in mind the lightbox plugin is being fixed as that uses too many resources too

    thanks

  4. David Neal
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    Thanks for providing that information.

    I've tried running the P3 plugin on 2 separate servers with different settings and had some mixed results.

    At best the plugin was running 0.12 seconds, with no share counts added. At worst I got similar to you, 0.46. This was with one set with share counts, or a category page with multiple sets.

    I'll try and run some tests as to what can be done to reduce the load time still, there must be a few improvements that can be made still. One thing I did find was that the P3 plugin (whether auto or manual scan) will always run the homepage, which I believe could possibly be affecting your results a little too.

    I'll try and put aside some time soon!

    Thanks,

    David

  5. David Neal
    Member
    Plugin Author

    Posted 1 year ago #

    I've figured it out!!!

    It's the latest function I added that shortens URLs to share with Twitter!!

    I edited out that bit of code and now (with counters off) the plugin comes under the 'Other' section of the P3 report which took a grand total of 0.0156 seconds :)

    My plan is to run this function only when the 'share by twitter' button is clicked!

    Standby for the release, thanks for your patience!

  6. mudfooted
    Member
    Posted 1 year ago #

    I am afraid I am also running into performance issues. ALl plugins on my website load on average in a hundreds of a second but Simple Share Buttons Adder takes 2 seconds (see report below). I have counters enabled and I would like to keep doing so. Is this the performance I can expect? Or is there something to be done. I will have to decide if I go for faster site loading and a different plugin or your plugin, which I think is fantastic (excluding this issue)!

    WordPress Plugin Profile Report
    ===========================================
    Report date: June 12, 2013
    Theme name: Twenty Twelve
    Pages browsed: 4
    Avg. load time: 2.4900 sec
    Number of plugins: 14
    Plugin impact: 94.14% of load time
    Avg. plugin time: 2.3439 sec
    Avg. core time: 0.0913 sec
    Avg. theme time: 0.0477 sec
    Avg. mem usage: 35.63 MB
    Avg. ticks: 3,403
    Avg. db queries : 70.75
    Margin of error : 0.0070 sec

    Plugin list:
    ===========================================
    P3 (Plugin Performance Profiler) - 0.0051 sec - 0.22%
    Add To Home Screen Wp - 0.0177 sec - 0.76%
    Akismet - 0.0077 sec - 0.33%
    Better WP Security - 0.0265 sec - 1.13%
    BJ Lazy Load - 0.0217 sec - 0.93%
    Clicky for WordPress - 0.0031 sec - 0.13%
    Facebook Comments Plugin - 0.0029 sec - 0.12%
    Fancybox For WordPress - 0.0037 sec - 0.16%
    jQuery Pin It Button For Images - 0.0073 sec - 0.31%
    S8 Custom Login And Registration - 0.0106 sec - 0.45%
    Seo Image - 0.0213 sec - 0.91%
    Simple Share Buttons Adder - 2.1763 sec - 92.85%
    Ultimate Coming Soon Page - 0.0115 sec - 0.49%
    Wordpress Seo - 0.0285 sec - 1.22%

  7. David Neal
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    It will depend on how many different share counter-compatible options you have selected, the more calls to request the counts the slower it will be.

    Unfortunately without using an intermediary server (which I've promised never to do) loading the buttons after the page content itself, therefore loading the rest of the page may not be possible. I'll have a look to see if there are any clever ways round this for you.

    Could you please compare the time with the counters turned off? I have found runtime to be pretty impressive with them disabled.

    Thanks,

    David

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.