Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #57648, comment 17


Ignore:
Timestamp:
02/17/2023 09:23:04 PM (16 months ago)
Author:
flixos90
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #57648, comment 17

    initial v1  
    99    * `wp_enqueue_global_styles()` with caching (TT1): **5.41ms** (6.2 Beta) vs **3.35ms** (6.1)
    1010    * `wp_enqueue_global_styles()` without caching (TT1): **5.33ms** (6.2 Beta) vs **12.04ms** (6.1)
    11 * Note that for block themes, despite effectively the lack of caching in `wp_get_global_stylesheet()`, the code in 6.2 is still faster than in 6.1, which is excellent. I'm almost sad we ever had caching here, since those ~20ms faster performance of a single function (when considered without caching) are amazing to see :)
     11* Note that for block themes, despite effectively the lack of caching in `wp_get_global_stylesheet()`, the code in 6.2 is still faster than in 6.1, which is excellent. I'm almost sad we ever had caching here, since those ~20ms faster performance in TT3 from a single function (when considered without caching) are amazing to see :)
    1212
    1313Yet, we just have to acknowledge that in the field, we will now have this small regression in the `wp_get_global_stylesheet()` function for classic themes, for the time being. But I believe we are still in a better place than before, as the approach previously was error-prone, and overall WP 6.2 performance sees so many improvements over 6.1 that holistically this little regression will only cause a slight reduction in the overall load time performance wins.