Closed
Bug 1949796
Opened 1 year ago
Closed 8 months ago
Opening a big array is very slow in the json viewer
Categories
(DevTools :: JSON Viewer, defect, P2)
DevTools
JSON Viewer
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1901215
People
(Reporter: julienw, Unassigned)
Details
STR:
- Open https://firefoxci.taskcluster-artifacts.net/XA-uJyFdSJKZv_WlDez_nw/0/public/test_info/browsertime-results/speedometer3/pages/127_0_0_1/index.html/data/profile_power_1.json
- Expand threads > 0 > samples > time
=> This freezes the tab.
| Reporter | ||
Comment 1•1 year ago
|
||
Here is a profile: https://share.firefox.dev/41rPszR
I didn't wait until the end of the freeze as it's very very long. I guess we could shorten it with a smaller array, this one has more than 168k items.
| Reporter | ||
Comment 2•1 year ago
|
||
The same operation with the same json object in the web console is much faster: https://share.firefox.dev/3EKlA8W
Comment 3•1 year ago
|
||
Thanks for the report Julien.
We spend too much time in React rendering the array's items.
Like in the console, we could have some bucketting to avoid rendering too much at once.
Or we could have some fancier virtualization.
Severity: -- → S3
Priority: -- → P2
You need to log in
before you can comment on or make changes to this bug.
Description
•