Open Bug 1556255 Opened 7 years ago Updated 1 year ago

Convert the ElementEditor markup into a React component

Categories

(DevTools :: Inspector, task, P3)

task

Tracking

(Not tracked)

People

(Reporter: gl, Unassigned)

References

Details

Attachments

(8 obsolete files)

No description provided.

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.

(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.

Attachment #9076252 - Attachment is obsolete: true

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.

See Also: → 1564480
Attachment #9076924 - Attachment is obsolete: true
Attachment #9076251 - Attachment is obsolete: true
Attachment #9077204 - Attachment is obsolete: true
Attachment #9077169 - Attachment is obsolete: true
Attachment #9077168 - Attachment is obsolete: true
Attachment #9069280 - Attachment is obsolete: true
Attachment #9069279 - Attachment is obsolete: true
Severity: normal → S3
Assignee: gl → nobody
Status: ASSIGNED → NEW
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: