[wp-trac] [WordPress Trac] #59443: Block Supports: Re-use instance of Tag Processor when adding layout classes
WordPress Trac
noreply at wordpress.org
Tue Oct 3 21:26:21 UTC 2023
#59443: Block Supports: Re-use instance of Tag Processor when adding layout classes
---------------------------------------+----------------------------
Reporter: dmsnell | Owner: isabel_brison
Type: enhancement | Status: reopened
Priority: normal | Milestone: 6.4
Component: Editor | Version: trunk
Severity: normal | Resolution:
Keywords: gutenberg-merge has-patch | Focuses: performance
---------------------------------------+----------------------------
Comment (by spacedmonkey):
I have highlight wp_render_layout_support_flag as a possible issue.
Here is data from different themes and WP versions.
The data doesn't paint a clear picture. In some cases it faster and others
much slower.
The most worrying thing here, is that the function time in TT4, where the
function is called less but is much more function server time.
= TT4 theme
|| Version || Function time || Times called || Total server time ||
|| WP 6.3 - TT4 || 11.8 ms || 310 || 153ms ||
|| WP 6.4 beta 2 - TT4 || 18.1ms || 220 || 174ms ||
Compare
[https://blackfire.io/profiles/compare/81aa54e6-5bc7-4d53-82c7-6148c0a9c955/graph
profiles]
= TT3 theme
|| Version || Function time || Times called || Total server time ||
|| WP 6.3 - TT3 || 4.8 ms || 452 || 151ms ||
|| WP 6.4 beta 2 - TT3 || 5.69 ms || 440 || 142ms ||
Compare [https://blackfire.io/profiles/compare/d35eef69-07ee-45d3-af9e-
5d06963cebfd/graph profiles]
= TT1 theme
|| Version || Function time || Times called || Total server time ||
|| WP 6.3 - TT1 || 12 ms || 808 || 237ms ||
|| WP 6.4 beta 2 - TT1 || 11.3 ms || 797 || 227ms ||
Compare
[https://blackfire.io/profiles/compare/6188ba8c-2833-488e-8216-b9fa832c2af2/graph
profiles].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59443#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list