[wp-trac] [WordPress Trac] #59111: A stale register_core_block_style_handles cache can cause styles not to load
WordPress Trac
noreply at wordpress.org
Thu Aug 31 06:41:18 UTC 2023
#59111: A stale register_core_block_style_handles cache can cause styles not to
load
--------------------------+--------------------------
Reporter: joemcgill | Owner: joemcgill
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 6.3.2
Component: Themes | Version: 6.3
Severity: major | Resolution:
Keywords: has-patch | Focuses: performance
--------------------------+--------------------------
Changes (by mukesh27):
* keywords: has-patch needs-testing => has-patch
Comment:
I did some benchmarks and share the results for both the current trunk and
the two PRs we've been working on. After conducting the benchmarks, it's
evident that both PRs exhibit only slight differences in performance, and
both approaches seem promising.
Here's a summary of the benchmark results:
|| ||= Trunk =||=
[https://github.com/WordPress/wordpress-develop/pull/5112 PR 5112] =||=
[https://github.com/WordPress/wordpress-develop/pull/5052 PR 5052] =||
||= wp-before-template (median) =|| 157.4 || 155.56 || 155.43 ||
||= wp-template (median) =|| 103.6 || 102.83 || 103.07 ||
||= wp-total (median) =|| 261.13 || 258.16 || 258.28 ||
As you can see, there are only marginal differences in the numbers. Both
PRs appear to be viable options.
Additionally, I've also left an additional suggestion for PR 5052.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59111#comment:27>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list