Typing in WhatsApp Web is really janky (with most time spent in "MaybeLoadImage"), if you've entered lots of emoji into message box
Categories
(Core :: Layout: Images, Video, and HTML Frames, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox64 | --- | affected |
People
(Reporter: dholbert, Unassigned)
References
()
Details
(Keywords: perf, webcompat:site-report, Whiteboard: [sci-exclude][webcompat:sightline])
Attachments
(1 file)
| Reporter | ||
Updated•8 years ago
|
| Reporter | ||
Comment 1•8 years ago
|
||
Comment 2•8 years ago
|
||
Comment 3•8 years ago
|
||
| Reporter | ||
Comment 4•8 years ago
|
||
| Reporter | ||
Comment 5•8 years ago
|
||
Comment 6•8 years ago
|
||
Comment 7•8 years ago
|
||
| Reporter | ||
Comment 8•8 years ago
|
||
| Reporter | ||
Comment 9•8 years ago
|
||
| Reporter | ||
Comment 10•8 years ago
|
||
| Reporter | ||
Comment 11•8 years ago
|
||
| Reporter | ||
Comment 12•8 years ago
|
||
Updated•7 years ago
|
Updated•4 years ago
|
Comment 13•2 years ago
|
||
(In reply to Emilio Cobos Γlvarez (:emilio) from comment #6)
We seem to be calling NS_CheckContentPolicy at least twice per image load
(from the ShouldLoadCachedImage, once from LoadImage, once from
ValidateImage). At least one of those we could try to avoid...
IIRC, I think the aim of the patch in bug 1812488 is to avoid this.
Updated•1 year ago
|
Updated•1 year ago
|
Comment 14•1 year ago
|
||
Daniel, given this is a 7 year old bug, does this even still reproduce?
| Reporter | ||
Comment 15•1 year ago
•
|
||
Doesn't seem to repro for me at this point, no -- I don't see any noticeable jank when performing the STR from comment 0 on a recent Nightly on my 2-core Surface Pro 7, my least-powerful desktop/laptop available.
I don't think we can track down a fix range (and I'm not actually sure there was a fix on our end) since:
- web.whatsapp,com doesn't load at this point, in Nightly 2018-09-19 (from around when I was last looking at this bug)
- I tried loading my attached "testcase 1" in current Chrome, current Nightly, and Nightly 2018-09-19, and I'm seeing measurements of 300-500ms in all three browsers (with measurements slightly higher i.e. slower in Chrome from my few tests). So from the perspective of that testcase, we weren't and still aren't any slower than Chrome here. (I guess that matches my observations at the time, in comment 1.)
So anyway: it looks like something must have changed on WhatsApp's end to avoid the perf issue here; and the remaining perf issue captured in the testcase (hundreds of milliseconds spent on an operation that WhatsApp used to be doing per keypress) isn't something where we're behind / where it's demonstrable that we could be doing better, so it's probably not worth worrying about.
--> WORKSFORME
Description
•