Expanding a big object is slow

NEW
Unassigned

Status

P3
normal
2 years ago
8 months ago

People

(Reporter: nchevobbe, Unassigned)

Tracking

(Blocks: 1 bug)

Trunk
Dependency tree / graph

Firefox Tracking Flags

(firefox57 affected)

Details

(Whiteboard: [newconsole-reserve])

(Reporter)

Description

2 years ago
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])
(Reporter)

Updated

2 years ago
Priority: -- → P3
Whiteboard: [console-html][triage]
See Also: → bug 1391077
Flags: qe-verify?
Whiteboard: [console-html][triage] → [reserve-console-html]
(Reporter)

Updated

a year ago
Duplicate of this bug: 1405060
See Also: → bug 1405070
Priority: P3 → P2
Whiteboard: [reserve-console-html] → [newconsole-mvp]
Flags: qe-verify?

Updated

10 months ago
Priority: P2 → P3
Whiteboard: [newconsole-mvp] → [newconsole-reserve]
(Reporter)

Updated

10 months ago
Depends on: 1450944

Updated

8 months ago
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.