Closed
Bug 1753942
Opened 3 years ago
Closed 3 years ago
Save some cycle in console
Categories
(DevTools :: Console, task)
DevTools
Console
Tracking
(firefox99 fixed)
RESOLVED
FIXED
99 Branch
Tracking | Status | |
---|---|---|
firefox99 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
References
Details
(Whiteboard: dt-console-perf-2022)
Attachments
(2 files)
Looking at profiles, there are small things showing up that we could avoid doing
Assignee | ||
Comment 1•3 years ago
|
||
The getter was showing up in a profile although it doesn't bring any value and
can safely be removed.
Assignee | ||
Comment 2•3 years ago
|
||
We're checking if the last message is the result of an evaluation in ConsoleOutput
so we can scroll to the bottom.
But in order to do that, we're turning the messages map into an array, only to get
its last element, which was showing up in profiles.
We can retrieve the last added message id through visibleMessages
as evaluation
and their results are never filtered.
Depends on D137986
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4ca526bd1f7a
[devtools] Remove MessageContainer defaultProps. r=dthayer.
https://hg.mozilla.org/integration/autoland/rev/6955b2d62aa9
[devtools] Check isNewMessageEvaluationResult through visibleMessages.r=dthayer.
Comment 4•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/4ca526bd1f7a
https://hg.mozilla.org/mozilla-central/rev/6955b2d62aa9
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox99:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•