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

WordPress Trac noreply at wordpress.org
Wed Jun 7 22:59:38 UTC 2023


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

Comment (by westonruter):

 Replying to [comment:2 westonruter]:
 > The changes in the PR eliminate the long task. I expected it to reduce
 LCP by ~100ms, but seems it is more ~30ms on my machine (Chrome on HP
 Dragonfly Pro Chromebook). Presumably there will be greater gains on less
 powerful devices.

 I obtained a
 [https://www.webpagetest.org/chrome/perfetto/index.html#!/viewer?url=https%3A%2F%2Fwww.webpagetest.org%2Fgetgzip.php%3Ftest%3D230607_AiDcXN_CHJ%26file%3D2_trace.json
 trace] using WebPageTest on a Moto G Power device and the long task was
 ~200ms, so even longer as expected compared to my relatively powerful
 laptop. Users of lower-powered devices will see the most gains from these
 improvements.

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


More information about the wp-trac mailing list