[wp-trac] [WordPress Trac] #59383: Blocks: Introduce helper function to retrieve hooked blocks

WordPress Trac noreply at wordpress.org
Fri Oct 6 17:48:42 UTC 2023


#59383: Blocks: Introduce helper function to retrieve hooked blocks
-------------------------------------------------+-------------------------
 Reporter:  gziolo                               |       Owner:  gziolo
     Type:  enhancement                          |      Status:  reopened
 Priority:  normal                               |   Milestone:  6.4
Component:  Themes                               |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests needs-dev-  |     Focuses:
  note gutenberg-merge                           |
-------------------------------------------------+-------------------------
Changes (by flixos90):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Reopening this due to a seemingly major performance opportunity in
 https://github.com/WordPress/wordpress-develop/pull/5399, particularly for
 the new default theme TT4. [https://github.com/WordPress/wordpress-
 develop/pull/5399#issuecomment-1751178660 See my latest benchmarks.]

 @gziolo @bernhard-reiter Do you have any idea why this has such a massive
 impact on TT4 but not ''as'' much on the other block themes tested? Of
 course even for the other block themes there's a notable positive impact,
 but for TT4 it's the kind of "worth dropping everything else" impact :D

 I'm mostly asking for clarification to ensure we know what we're doing
 here, and to rule out that something random in my setup led to the TT4
 performance potentially seeming better than it is.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59383#comment:32>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list