Convert the ElementEditor markup into a React component
Categories
(DevTools :: Inspector, task, P3)
Tracking
(Not tracked)
People
(Reporter: gl, Unassigned)
References
Details
Attachments
(8 obsolete files)
| Reporter | ||
Comment 1•7 years ago
|
||
| Reporter | ||
Comment 2•7 years ago
|
||
| Reporter | ||
Comment 3•7 years ago
|
||
| Reporter | ||
Comment 4•6 years ago
|
||
| Reporter | ||
Comment 5•6 years ago
|
||
This fixes inspector.close performance regressions.
| Reporter | ||
Comment 6•6 years ago
|
||
This is the latest damp results with Part 3 and 4. https://treeherder.mozilla.org/perf.html#/comparesubtest?originalProject=try&newProject=try&newRevision=3866fa42102047f57c72b1657274f9d8aefc4976&originalSignature=1759151&newSignature=1759151&framework=12&originalRevision=56bfa95adf27e77089d7bfa5dab023246d71931a
I am mostly seeing regression on custom tests so I am wondering what those tests are doing. Everything else seems to be within reasonable perf. Part 4 fixes the close time performance regressions by not calling React.unmountComponentAtNode on destroy.
| Reporter | ||
Comment 7•6 years ago
|
||
Comment 8•6 years ago
|
||
(In reply to Gabriel [:gl] (ΦωΦ) from comment #6)
This is the latest damp results with Part 3 and 4. https://treeherder.mozilla.org/perf.html#/comparesubtest?originalProject=try&newProject=try&newRevision=3866fa42102047f57c72b1657274f9d8aefc4976&originalSignature=1759151&newSignature=1759151&framework=12&originalRevision=56bfa95adf27e77089d7bfa5dab023246d71931a
I am mostly seeing regression on custom tests so I am wondering what those tests are doing.
They try to open the inspector on a page identical to this one https://amber-mask.glitch.me/
A lot of attributes on a few elements. A lot of elements overall, but most are not rendered.
Actually not a huge markup view to display before you start expanding things. I guess the patch is stressing the attribute creation codepath so this test is heavily impacted.
Updated•6 years ago
|
| Reporter | ||
Comment 9•6 years ago
•
|
||
Nicholas assisted me on profiling the attribute performance issues and will be spinning up some new bugs to address some performance issues overall. We found a couple of things to address:
- parseAttribute performance
- scrollIntoViewIfNeeded performance
- Lazify the rendering of the attributes by only rendering X number of attributes when the NodeAttribute is initially mounted and then render the rest on the next tick. This will mean some shifting.
Since we are going to regress anyways, we are looking at other things we can shave.
| Reporter | ||
Comment 10•6 years ago
|
||
| Reporter | ||
Comment 11•6 years ago
|
||
| Reporter | ||
Comment 12•6 years ago
|
||
| Reporter | ||
Comment 13•6 years ago
|
||
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Updated•3 years ago
|
| Reporter | ||
Updated•1 year ago
|
Description
•