Closed Bug 1254436 Opened 10 years ago Closed 9 years ago

Improve performance of non-Array dense elements

Categories

(Core :: JavaScript Engine: JIT, defect, P3)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: jandem, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: perf)

See https://groups.google.com/d/msg/mozilla.dev.platform/xwTMU7juyVg/IpYlbNK3BAAJ I looked at the testObjectSingle test. One problem there is that IsDenseElementSetInlineable in IonCaches.cpp checks !obj->is<ArrayObject>(). That seems too strict: I think that code should work for all native objects (without weird Class hooks). And we're using an IC there because we don't have type information for |a| in IonBuilder, because the code before the loop runs in the interpreter. That's less likely to happen for non-microbenchmark code.
Blocks: sm-js-perf
Priority: -- → P3
Keywords: perf
CacheIR optimizes dense elements on everything not just arrays, can we close this?
(In reply to Tom Schuster [:evilpie] from comment #1) > CacheIR optimizes dense elements on everything not just arrays, can we close > this? Yes let's close this one.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.