Closed
Bug 1409097
Opened 8 years ago
Closed 8 years ago
Remove the message-body-wrapper element from the DOM tree in the new console frontend
Categories
(DevTools :: Console, enhancement, P1)
DevTools
Console
Tracking
(firefox57 wontfix)
RESOLVED
WONTFIX
| Tracking | Status | |
|---|---|---|
| firefox57 | --- | wontfix |
People
(Reporter: bgrins, Assigned: bgrins)
Details
Attachments
(3 files)
We should be able to get faster mounting times in react if we flatten the DOM that we render.
Here are some profiles with the test case: `for (var i = 0; i < 1000; i++) { console.log(i); }`
No changes:
https://perfht.ml/2kQRA1u
Removed message-body-wrapper:
https://perfht.ml/2kRaupb
And the if you hold the right arrow on the tree and expand it all the way to the end you should see a final call to setValueForProperty. In the second, we are 4 levels further left, meaning 4 less function calls (590px indent instead of 630px indent at 10px spacing each). Note that this is dependent on the deepest tree also being the slowest path, but even after alt+clicking and scanning the trees it does appear that the latter doesn't have anything deeper. Also, flushBatchedUpdates does seem faster after doing a couple of profiles.
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
Comment 4•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8918952 [details]
Bug 1409097 - Remove unused scrollToMessage prop;
https://reviewboard.mozilla.org/r/189844/#review195304
Attachment #8918952 -
Flags: review?(nchevobbe) → review+
Comment 5•8 years ago
|
||
Comment on attachment 8919046 [details]
Bug 1409097 - Remove the message-body-wrapper element from the new console frontend;
Thanks for working on this Brian.
There seems to have an issue with "attachments" (stacktrace, table, …) due to this change (i'll attach a screenshot in the next comment).
Attachment #8919046 -
Flags: review?(nchevobbe) → review-
Comment 6•8 years ago
|
||
Comment 7•8 years ago
|
||
Maybe grid layout would help in this case.
Updated•8 years ago
|
Assignee: nobody → bgrinstead
Status: NEW → ASSIGNED
Priority: -- → P1
Whiteboard: [console-html][triage] → [reserve-console-html]
Updated•8 years ago
|
status-firefox57:
--- → wontfix
Comment 8•8 years ago
|
||
Brian, didn't we say yesterday that we should close this ?
| Assignee | ||
Comment 9•8 years ago
|
||
(In reply to Nicolas Chevobbe [:nchevobbe] from comment #8)
> Brian, didn't we say yesterday that we should close this ?
Yep, thanks
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Updated•8 years ago
|
Whiteboard: [reserve-console-html]
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•