Closed Bug 1799490 Opened 3 months ago Closed 3 months ago

Inline Map.prototype.size and Set.prototype.size

Categories

(Core :: JavaScript Engine: JIT, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
108 Branch
Tracking Status
firefox108 --- fixed

People

(Reporter: anba, Assigned: anba)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Inline Map.prototype.size and Set.prototype.size to avoid performance cliffs when compared to V8, which implements this getter.

Transpile both CacheIR operations in Warp.

Depends on D161488

Pushed by andre.bargull@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/3299b27a5b7c
Part 1: Inline Map.prototype.size and Set.prototype.size in CacheIR. r=iain
https://hg.mozilla.org/integration/autoland/rev/a2c8f031ccbf
Part 2: Transpile Map.prototype.size and Set.prototype.size in Warp. r=iain
Blocks: sm-jits
Severity: -- → N/A
Priority: -- → P1
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
You need to log in before you can comment on or make changes to this bug.