Closed
Bug 1367666
Opened 8 years ago
Closed 7 years ago
[Input Latency] Firefox is 100% (131 ms) slower than Chrome in case GMail - Reply Email
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
DUPLICATE
of bug 1381387
Performance Impact | high |
People
(Reporter: wachen, Assigned: mstange)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [QRC][QRC_Analyzed])
User Story
STR: 1. Open Gmail in logged in state 2. Mouse click the first email in the inbox 3. Click on the “reply” button on the top right corner of the email Short Gecko Profile(cover only Input Lantency action): https://perfht.ml/2riI6gV Reports: https://goo.gl/V7un6P Notes: https://docs.google.com/spreadsheets/d/1MsTK1FW88wuLd25A18HG2KqpjYJnvrxGM9a6MeZp35w/edit#gid=256706414 Firefox Profile and Chrome Tracing will be attached in the following.
STR:
1. Open Gmail in logged in state
2. Mouse click the first email in the inbox
3. Click on the “reply” button on the top right corner of the email
Reports: https://goo.gl/V7un6P
Notes: https://docs.google.com/spreadsheets/d/1MsTK1FW88wuLd25A18HG2KqpjYJnvrxGM9a6MeZp35w/edit#gid=256706414
Firefox Profile and Chrome Tracing will be attached in the following.
Reporter | ||
Comment 1•8 years ago
|
||
Firefox Profile:
https://perfht.ml/2qRUPH3
Chrome Tracing:
https://goo.gl/79Zl9W
Updated•7 years ago
|
Whiteboard: [qf] → [qf][QRC_NeedAnalysis]
Updated•7 years ago
|
Whiteboard: [qf][QRC_NeedAnalysis] → [QRC][QRC_NeedAnalysis]
Short Gecko Profile(cover only Input Lantency action):
https://perfht.ml/2riI6gV
Updated•7 years ago
|
Summary: [Input Latency] GMail - Reply Email → [Input Latency] Firefox is 100% (131 ms) slower than Chrome in case GMail - Reply Email
Comment 3•7 years ago
|
||
(In reply to myen from comment #2)
> Short Gecko Profile(cover only Input Lantency action):
> https://perfht.ml/2riI6gV
In the range that we received the mouse click event:
https://perf-html.io/public/98aac49936ca0f5bb109fd0d0e2e48f86152d786/calltree/?range=2.0205_3.2994&thread=5
We spent 504 ms in running the event handler:
https://perf-html.io/public/98aac49936ca0f5bb109fd0d0e2e48f86152d786/calltree/?callTreeFilters=prefix-07xOu&range=2.0205_3.2994&thread=5
Which was followed by refresh driver ticks:
https://perf-html.io/public/98aac49936ca0f5bb109fd0d0e2e48f86152d786/calltree/?callTreeFilters=prefix-0123456789abcde9abBiDBhvx0&range=2.0205_3.2994&thread=5
The question is: why we need to spend 504 ms running the click handler of the reply button?
One thing that catches my attention is js::jit::DoCallFallback() is called in may places in this range:
https://perf-html.io/public/98aac49936ca0f5bb109fd0d0e2e48f86152d786/calltree/?implementation=cpp&range=2.0205_3.2994&search=DoCallFallback&thread=5
I am not sure if this explains why we need to spend so much time in JS. We need a JS expert to take further look.
Comment 4•7 years ago
|
||
Sean, could you help to follow Cervantes's investigation? Thanks.
Flags: needinfo?(sstangl)
Updated•7 years ago
|
Assignee: nobody → sstangl
Comment 5•7 years ago
|
||
Too much cases on Sean. Ping Marcus instead. Thanks.
Assignee: sstangl → mstange
Flags: needinfo?(mstange)
Comment 6•7 years ago
|
||
Marcus, can you please do a profile analysis on this?
Assignee | ||
Comment 7•7 years ago
|
||
I don't think I have anything to add to Cervantes' analysis. The click handler is running JavaScript, and it's really hard to say why that JavaScript is taking longer to run than it does in Chrome, at least for me.
Flags: needinfo?(mstange)
Updated•7 years ago
|
Component: General → JavaScript Engine
Whiteboard: [QRC][QRC_NeedAnalysis] → [qf][QRC][QRC_Analyzed]
Updated•7 years ago
|
Whiteboard: [qf][QRC][QRC_Analyzed] → [qf:p1][QRC][QRC_Analyzed]
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Updated•7 years ago
|
Updated•3 years ago
|
Performance Impact: --- → P1
Whiteboard: [qf:p1][QRC][QRC_Analyzed] → [QRC][QRC_Analyzed]
Updated•2 years ago
|
Flags: needinfo?(sstangl)
You need to log in
before you can comment on or make changes to this bug.
Description
•