Closed Bug 1830387 Opened 2 years ago Closed 2 years ago

Consider expanding IIFE heuristic for eager-parse.

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

RESOLVED WONTFIX

People

(Reporter: mgaudet, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [sp3])

Attachments

(5 files)

V8 has a slightly different eager parse heuristic than us. We should investigate if matching their heuristic works to our advantage.

Depends on D176701

Depends on D176702

Attached file WIP: Bug 1830387 - Add IIFE stat dump (deleted) —

Depends on D176703

On Speedometer locally I measure an increase of 1100 functions over speedometer getting the IIFE heuristic eager parse with the IIFE modifications vs. without, starting from a baseline of 11210 getting the IIFE eager parse.

So the heuristic increases the number of eagerly parsed functions by 10%, which seems to not move the needle on our benchmarks.

I think we'll resolve this as WONTFIX for now.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WONTFIX
Whiteboard: [sp3]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: