Expensive page load
-
I ran p3 profiler on my woocommerce store, and only 3 plugins spiked –
jetpack (1.61s)
w3 total cache (2.39s)
woocommerce product FAQ (1.59s)https://www.ads-software.com/plugins/woocommerce-product-faqs/
-
The fact that your results differ from mine (I ran the same profiler on a site of mine) suggests that the results you see are due to a server or site config issue. I’m surprised that the other spikes you see are so high. A good load time is less than 1 second. Your caching plugin causes increased load of > 2 seconds; it is designed to decrease load time.
I’d be interested in a full result of the profiler though. Can you link to the spreadsheet of this profile run?I think this is the full report. I disabled the cache plugin and ran the test again, the FAQ plugin still costs a significant amount of time compared to all other plugins.
WordPress Plugin Profile Report
===========================================
Report date: April 21, 2014
Theme name: Divi
Pages browsed: 1
Avg. load time: 3.2926 sec
Number of plugins: 22
Plugin impact: 76.06% of load time
Avg. plugin time: 2.5044 sec
Avg. core time: 0.5088 sec
Avg. theme time: 0.1205 sec
Avg. mem usage: 49.75 MB
Avg. ticks: 25,179
Avg. db queries : 53.00
Margin of error : 0.1589 secPlugin list:
===========================================
P3 (Plugin Performance Profiler) – 0.0078 sec – 0.31%
iThemes Security – 0.1665 sec – 6.65%
W3 Total Cache – 0.0135 sec – 0.54%
Jetpack by WordPress.com – 0.8396 sec – 33.52%
Media Tools – 0.0035 sec – 0.14%
Regenerate Thumbnails – 0.0056 sec – 0.22%
Woocommerce Amazon S3 Storage – 0.0202 sec – 0.81%
Woocommerce Bundle Style Coupons – 0.0010 sec – 0.04%
WooCommerce Coupon Shortcodes – 0.0113 sec – 0.45%
Woocommerce Menu Bar Cart – 0.0109 sec – 0.44%
Woocommerce New Product Badge – 0.0048 sec – 0.19%
Woocommerce Oscommerce Import – 0.0029 sec – 0.12%
Woocommerce Product Archive Customiser – 0.0108 sec – 0.43%
Woocommerce Product Details Customiser – 0.0045 sec – 0.18%
Woocommerce Product Faqs – 0.9458 sec – 37.76%
WooCommerce Product Vendors – 0.0249 sec – 0.99%
WooCommerce Smart Sale Badge – 0.0048 sec – 0.19%
WooCommerce – 0.2897 sec – 11.57%
WooDojo – 0.0347 sec – 1.39%
WooSidebars – 0.0112 sec – 0.45%
WooThemes Helper – 0.0366 sec – 1.46%
Worker – 0.0537 sec – 2.15%What page did you run this scan on? I noticed you did a one-page scan, not an automatic scan.
It ran on the front page of the site ( where there are no FAQs ) https://vamp3d.com
I watched this scan, it loaded the front page, a product page, the WP-admin dashboard, and the posts overview page.
WordPress Plugin Profile Report
===========================================
Report date: April 21, 2014
Theme name: Divi
Pages browsed: 4
Avg. load time: 3.3411 sec
Number of plugins: 22
Plugin impact: 75.03% of load time
Avg. plugin time: 2.5069 sec
Avg. core time: 0.5432 sec
Avg. theme time: 0.1280 sec
Avg. mem usage: 49.75 MB
Avg. ticks: 25,179
Avg. db queries : 53.00
Margin of error : 0.1631 secPlugin list:
===========================================
P3 (Plugin Performance Profiler) – 0.0081 sec – 0.32%
iThemes Security – 0.1700 sec – 6.78%
W3 Total Cache – 0.0147 sec – 0.59%
Jetpack by WordPress.com – 0.8312 sec – 33.16%
Media Tools – 0.0038 sec – 0.15%
Regenerate Thumbnails – 0.0058 sec – 0.23%
Woocommerce Amazon S3 Storage – 0.0200 sec – 0.80%
Woocommerce Bundle Style Coupons – 0.0010 sec – 0.04%
WooCommerce Coupon Shortcodes – 0.0118 sec – 0.47%
Woocommerce Menu Bar Cart – 0.0123 sec – 0.49%
Woocommerce New Product Badge – 0.0048 sec – 0.19%
Woocommerce Oscommerce Import – 0.0029 sec – 0.11%
Woocommerce Product Archive Customiser – 0.0102 sec – 0.41%
Woocommerce Product Details Customiser – 0.0045 sec – 0.18%
Woocommerce Product Faqs – 0.9522 sec – 37.98%
WooCommerce Product Vendors – 0.0250 sec – 1.00%
WooCommerce Smart Sale Badge – 0.0048 sec – 0.19%
WooCommerce – 0.2825 sec – 11.27%I installed/activated all of the plugins you listed, and still got different results – my page load time is 0.5s, with this plugin only causing 0.04s load. I recommend running your site through https://tools.pingdom.com/.
You can look at the source code of the front page (and any other non-product page for that matter) and notice that no assets whatsoever are loaded from this plugin.
Let me know what you find out from running a page load test; in the meantime I will see what I can do from my end.
page analysis:
https://www.dropbox.com/s/zc7i13571x8s7xr/Screenshot%202014-04-21%2008.08.38.pngperformance grade:
https://www.dropbox.com/s/x545vjfof496y04/Screenshot%202014-04-21%2008.08.55.pngcache validator count is up there due to the amount of images being mirrored with jetpack I assume.
No idea how to improve the CSS and javascript performance considering this is WP and its all plugin files.
That report shows that almost 85% of your load time is due to assets – split between scripts, images, css, and html. Again, as I noted above, this plugin loads no assets unless it is on a product page.
One very important thing to note when using the P3 profiler is that it does not immediately differentiate front end load time vs wp-admin load time. When it reports page load time, it inaccurately gives an estimate based on the average of both front-end and wp-admin, which is not relevant when you’re trying to determine page load time for visitors (which I assume is your goal).
A good way to view the difference is to go to the “Detailed Timeline” tab – /wp-admin/tools.php?page=p3-profiler&p3_action=current-scan#p3-tabs-6This will show you not only the load time on a graph per plugin, but more importantly where the load time occurred. On my scans (I performed ~10), this graph mirrors what I’ve been saying – that this plugin causes no increased load time on the front end of the site, except for on a product page.
Ok so the p3 profiler is misleading me. I assumed it accurately measured the amount of time spent loading a plugin. It made no sense to me that the product FAQ plugin was costing so much load time especially since at this moment, since I have no FAQs loaded. I’m still in development phase here.
The details Timeline looks a little confusing to me.
https://www.dropbox.com/s/x5ys6x6ugu1epay/Screenshot%202014-04-21%2008.31.46.png
Should it be spread out or stacked on top like that?I will work on the rest of the site, getting it optimized, and see what it says after that.
It should be a line graph, with multiple dots connected by lines.
You may have some javascript issues causing that not to happen.
- The topic ‘Expensive page load’ is closed to new replies.