[wp-trac] [WordPress Trac] #59595: Improve performance of WP_Theme_JSON::compute_style_properties
WordPress Trac
noreply at wordpress.org
Sun Jun 2 21:22:51 UTC 2024
#59595: Improve performance of WP_Theme_JSON::compute_style_properties
-----------------------------------------+--------------------------
Reporter: spacedmonkey | Owner: thekt12
Type: enhancement | Status: assigned
Priority: normal | Milestone: 6.6
Component: Editor | Version: 5.8
Severity: normal | Resolution:
Keywords: has-patch changes-requested | Focuses: performance
-----------------------------------------+--------------------------
Comment (by spacedmonkey):
@thekt12 @joemcgill @pereirinha I put together my
[https://github.com/WordPress/wordpress-develop/pull/6707 PR] for this. It
add some performance improvements and logic improves. I am seeing some
improves. It reduced the calls to str_starts_with from 9k down to 3k.
Can one of you run some profiles and see if this is a real improvement.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59595#comment:42>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list