Closed
Bug 1815273
Opened 2 years ago
Closed 2 years ago
WidgetEvent::Duplicate triggers extra TimeStamp::Now() call
Categories
(Core :: DOM: Events, enhancement, P3)
Core
DOM: Events
Tracking
()
RESOLVED
FIXED
118 Branch
Tracking | Status | |
---|---|---|
firefox118 | --- | fixed |
People
(Reporter: smaug, Assigned: smaug)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Whiteboard: [sp3])
Attachments
(1 file)
Unless I'm missing something
https://searchfox.org/mozilla-central/rev/ddbeacddc15008936e8f619c8c3a05fac6eab8d8/widget/BasicEvents.h#549,552 calls constructor which will initialize timestamp, but that value will be then overridden in https://searchfox.org/mozilla-central/rev/ddbeacddc15008936e8f619c8c3a05fac6eab8d8/widget/BasicEvents.h#553
Calling TimeStamp::Now() is particularly slow on linux
Comment 1•2 years ago
|
||
Yeah, there should be a constructor which does not initialize the timestamp.
Assignee | ||
Comment 3•2 years ago
|
||
Updated•2 years ago
|
Attachment #9347767 -
Attachment description: WIP: Bug 1815273 - WidgetEvent::Duplicate triggers extra TimeStamp::Now() call, r=masayuki → Bug 1815273 - WidgetEvent::Duplicate triggers extra TimeStamp::Now() call, r=masayuki
Pushed by opettay@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a88b93419ed9
WidgetEvent::Duplicate triggers extra TimeStamp::Now() call, r=masayuki
Comment 5•2 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox118:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 118 Branch
Assignee | ||
Updated•2 years ago
|
Blocks: speedometer3
Updated•2 years ago
|
Whiteboard: [sp3]
Updated•2 years ago
|
See Also: → https://mozilla-hub.atlassian.net/browse/SP3-496
You need to log in
before you can comment on or make changes to this bug.
Description
•