IonMonkey: Look at baseline caches for monomorphic setelem/getelem

NEW
Unassigned

Status

()

Core
JavaScript Engine
4 years ago
3 years ago

People

(Reporter: h4writer, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
Just like what is done for getprop we can look to the baseline caches to decide to use monomorphic/polymorphic instruction.

Atm for GWT linpack we are at 2.74s. Quick and dirty implementing this monomorphic thing for getelem improves the score to 2.1s (30% faster). Couldn't test it quickly for setelem. But if it has the same improvement we will be at 1.6s (comparison: chrome is at 1s).
(Reporter)

Updated

4 years ago
Blocks: 870627
(Assignee)

Updated

3 years ago
Assignee: general → nobody
You need to log in before you can comment on or make changes to this bug.