[wp-trac] [WordPress Trac] #57756: Improve performance of get_block_templates function
WordPress Trac
noreply at wordpress.org
Fri Apr 21 19:22:24 UTC 2023
#57756: Improve performance of get_block_templates function
------------------------------+--------------------------
Reporter: oandregal | Owner: oandregal
Type: enhancement | Status: assigned
Priority: normal | Milestone: 6.3
Component: General | Version: 5.8
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses: performance
------------------------------+--------------------------
Changes (by flixos90):
* keywords: has-patch => has-patch commit
Comment:
The PR https://github.com/WordPress/wordpress-develop/pull/4097 brings a
massive performance win, with **overall load time for block themes being
~15% faster**!
This is the full benchmark data: https://docs.google.com/spreadsheets/d
/1saGwDWET6ku-oP2BFfZzhTfwMuZZuzRTKxgyUM-i4-k/edit
The WordPress initialization process before rendering the template `wp-
before-template` is where all these improvements occur, that metric is
relatively speaking even more pronounced with ~20% improvement.
Kudos @oandregal, it is safe to say already at this point that this will
be one of the most important performance wins for WordPress 6.3, if not
the most important. But let's keep pushing :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57756#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list