Closed
Bug 1901215
Opened 1 year ago
Closed 6 months ago
Opening a large array is very slow
Categories
(DevTools :: JSON Viewer, defect, P3)
DevTools
JSON Viewer
Tracking
(firefox146 fixed)
RESOLVED
FIXED
146 Branch
| Tracking | Status | |
|---|---|---|
| firefox146 | --- | fixed |
People
(Reporter: florian, Assigned: florian)
References
(Blocks 1 open bug, Regressed 1 open bug)
Details
(Keywords: perf:responsiveness)
Attachments
(1 file)
I initially opened bug 1901204 (see the steps to reproduce there) and put it in the accessibility component as a11y code was responsible for 74% of the CPU time, but with a11y force-disabled, this is still slower than it should be. Here's a profile with a11y disabled: https://share.firefox.dev/3XcyTWQ
If this can't be made (much) faster, should the behavior used in the devtools console (where large arrays will be divided in multiple sections) be adopted instead?
Comment 1•1 year ago
|
||
It seems styles and reflows are extremely long. We do have a scrollable container in the json-viewer which might slow down things.
Let's first try to see if we can update the styles to make this faster, if not we should use buckets as in the console.
Severity: -- → S3
Priority: -- → P3
Updated•1 year ago
|
Blocks: devtools-performance
| Assignee | ||
Comment 3•6 months ago
|
||
Updated•6 months ago
|
Assignee: nobody → florian
Status: NEW → ASSIGNED
Pushed by fqueze@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/723ed202c026
https://hg.mozilla.org/integration/autoland/rev/30d07ddfef34
bucket long arrays in the JSON viewer, r=devtools-reviewers,ochameau.
Comment 5•6 months ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
status-firefox146:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 146 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•