Open Bug 1708272 Opened 3 years ago Updated 1 year ago

Improve performance of JSStructuredCloneReader::read

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

People

(Reporter: iain, Unassigned)

References

(Blocks 2 open bugs)

Details

In bug 1680860, the retrieval of large objects from indexedDB causes jank. We spend a long time adding properties to the object (js::DefineDataProperty / NativeObject::addPropertyInternal`).

As a follow-up to the reshape work, we should be able to optimize this code better. (Jan in chat: "we will be able to fill the property map directly and can then allocate the shape, bypassing a lot of the generic define code")

Blocks: 1680860
Severity: -- → N/A
Priority: -- → P3
See Also: → 1709241
See Also: 1709241
See Also: → 1760153
Blocks: 1760153
See Also: 1760153
You need to log in before you can comment on or make changes to this bug.