[wp-trac] [WordPress Trac] #58472: Emoji loader script causes ~100ms long task

WordPress Trac noreply at wordpress.org
Tue Jun 13 20:13:05 UTC 2023


#58472: Emoji loader script causes ~100ms long task
--------------------------+--------------------------------------
 Reporter:  westonruter   |       Owner:  westonruter
     Type:  defect (bug)  |      Status:  accepted
 Priority:  high          |   Milestone:  6.3
Component:  Emoji         |     Version:  4.2
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  javascript, performance
--------------------------+--------------------------------------
Changes (by flixos90):

 * priority:  normal => high


Comment:

 The implementation from https://github.com/WordPress/wordpress-
 develop/pull/4562 looks like an amazing performance win! I conducted a
 benchmark using [https://github.com/GoogleChromeLabs/wpp-
 research/tree/main/cli#benchmark-web-vitals benchmark-web-vitals] that
 shows that **LCP is ~15% improved** due to this change. 🎉

 [https://docs.google.com/spreadsheets/d/1U72tibGU3rpxiH_2A6gBiZUIU7OXSkKjG2bIsDACqWs/edit
 See the full results here]

 Note that while it may look at first glance that TTFB is a tiny bit faster
 with `trunk`, that is entirely due to variance, since the PR makes zero
 changes to server-side code.

 I'm setting the priority here to high since this is looking to be one of
 the most impactful performance wins in the release if it makes it in.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58472#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list