Open Bug 1392180 Opened 7 years ago Updated 2 years ago

Expanding a big object is slow

Categories

(DevTools :: Console, defect, P3)

defect

Tracking

(firefox57 affected)

Tracking Status
firefox57 --- affected

People

(Reporter: nchevobbe, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [newconsole-reserve])

Steps to reproduce: 1. Open the console 2. Evaluate the following block ``` Array(10000).fill("p").reduce((res, _, i)=> { res["item_" + i] = i; return res; }, {}) ``` 3. Expand the object Expanding the object takes more than 5 seconds on my machine. We should have bucketing for plain object too when they are quite large, like we did in the variable view. This means having the ability to get all the properties names of the object so we can build the bucket (e.g. [item_0…item_99])
Priority: -- → P3
Whiteboard: [console-html][triage]
See Also: → 1391077
Flags: qe-verify?
Whiteboard: [console-html][triage] → [reserve-console-html]
See Also: → 1405070
Priority: P3 → P2
Whiteboard: [reserve-console-html] → [newconsole-mvp]
Flags: qe-verify?
Priority: P2 → P3
Whiteboard: [newconsole-mvp] → [newconsole-reserve]
Product: Firefox → DevTools
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.