Home › Forums › WoodMart support forum › WoodMart Performance Issues
WoodMart Performance Issues
- This topic has 4 replies, 2 voices, and was last updated 1 hour, 30 minutes ago by
norborov.
-
AuthorPosts
-
March 4, 2025 at 8:36 am #642521
norborovParticipantHello! We’re experiencing noticeable slowdowns with the WoodMart theme on low and medium-performance hosting. The problem gets significantly worse when we have over 100 products.
Our investigation, using QueryMonitor and Code Profiler, showed that the add_attr function in the class-block-attributes.php file is being called a massive number of times (5993 times on a clean WordPress, WooCommerce, and WoodMart installation). These calls happen every time any page is refreshed.
This seems like a major performance bottleneck. It might be just the tip of the iceberg, and as the developers, you might see more underlying issues. Profiling tools aren’t always perfect, but the slowdown is definitely real and unacceptable. WoodMart is advertised as a fast theme, so this behavior is unexpected.
We noticed that WooCommerce recently fixed a similar performance issue in their latest release (see: https://developer.woocommerce.com/2025/02/25/woocommerce-9-7-smarter-shipping-displays-and-faster-performance/#h-faster-block-editor-performance).
We switched to Gutenberg specifically for performance reasons, so resolving this is extremely important. Could you please investigate and address this performance problem?
Attachments:
You must be logged in to view attached files.March 4, 2025 at 10:32 am #642557
Artem TemosKeymasterHello,
Could you please provide us with instructions on how we can see these timing graphs from the screenshot? Also send us your FTP access so we can troubleshoot this.
Thank you.
March 4, 2025 at 11:54 am #642594March 4, 2025 at 11:55 am #642599March 4, 2025 at 12:02 pm #642605
norborovParticipantmore…
i set
public function add_attr( $attributes, $attrs_prefix = ” ) {
do_action( ‘qm/debug’, [‘attr’=>$attributes, ‘prefix’=> $attrs_prefix]); ///<<<<<<< it’s debug for query-monitor plugins
path file:
woodmart/inc/integrations/gutenberg/inc/class-block-attributes.php
next: screenshotsAttachments:
You must be logged in to view attached files. -
AuthorPosts
- You must be logged in to create new topics. Login / Register