Home Forums WoodMart support forum WoodMart Performance Issues

WoodMart Performance Issues

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #642521

    norborov
    Participant

    Hello! 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.
    #642557

    Artem Temos
    Keymaster

    Hello,

    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.

    #642594

    norborov
    Participant

    1 of 2 msg

    Attachments:
    You must be logged in to view attached files.
    #642599

    norborov
    Participant

    2 of 2 msg

    Attachments:
    You must be logged in to view attached files.
    #642605

    norborov
    Participant

    more…
    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: screenshots

    Attachments:
    You must be logged in to view attached files.
Viewing 5 posts - 1 through 5 (of 5 total)