Open
Bug 1901215
Opened 5 months ago
Updated 3 months ago
Opening a large array is very slow
Categories
(DevTools :: JSON Viewer, defect, P3)
DevTools
JSON Viewer
Tracking
(Not tracked)
NEW
People
(Reporter: florian, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: perf:responsiveness)
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•5 months 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•5 months ago
|
Blocks: devtools-performance
You need to log in
before you can comment on or make changes to this bug.
Description
•