[wp-trac] [WordPress Trac] #46190: Firefox Emoji Detection Slow
WordPress Trac
noreply at wordpress.org
Thu Jun 27 04:15:11 UTC 2019
#46190: Firefox Emoji Detection Slow
---------------------------+------------------------------
Reporter: superpoincare | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Emoji | Version: 5.0.3
Severity: normal | Resolution:
Keywords: | Focuses:
---------------------------+------------------------------
Comment (by pento):
This is kind of weird. I can reproduce some slowdown (~100ms in my tests)
in Firefox on Windows when I first load the site in a new tab, but it's
fast after that.
Unfortunately, the Firefox performance measurement tools aren't so good
for drilling down into what's going on, so I kind of have to guess based
on logging lots of timing statements.
The best guess I have is that `toDataURL()` seems to block on network
issues: I'm able to make it more extreme by throttling the network
connection. This isn't particularly reliable, though.
It's also worth noting that this method of timing has its own issues:
adding a time check before `window._wpemojiSettings` is printed will often
show a 70ms+ delay for no apparent reason.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46190#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list