[wp-trac] [WordPress Trac] #59544: Performance: Skip iteration in block supports elements when not necessary.
WordPress Trac
noreply at wordpress.org
Mon Oct 9 17:05:46 UTC 2023
#59544: Performance: Skip iteration in block supports elements when not necessary.
------------------------------------+--------------------------
Reporter: dmsnell | Owner: flixos90
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.4
Component: Editor | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch dev-feedback | Focuses: performance
------------------------------------+--------------------------
Changes (by flixos90):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"56807" 56807]:
{{{
#!CommitTicketReference repository="" revision="56807"
Editor: Improve performance of `wp_render_elements_support()`.
By skipping iterations in block supports when not necessary, this
changeset improves performance of the function notably.
The performance enhancement leads to even a notable improvement for
overall page load time: For example, the Twenty Twenty-Four home page
loads ~2% faster with this changeset.
Props dmsnell, spacedmonkey, costdev, hellofromTonya, aaronrobertshaw.
Fixes #59544.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59544#comment:40>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list