Open Bug 1988884 Opened 2 months ago Updated 26 days ago

Optimize scripted proxy apply/construct with no trap

Categories

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

enhancement

Tracking

()

People

(Reporter: iain, Assigned: iain)

References

(Blocks 1 open bug)

Details

In bug 1988248, Jeff found a case in the wild where the Proxy apply hook was performance-sensitive. While investigating that, I prototyped a patch that supports calling methods on proxies that don't have an apply/construct hook. Initial results show that it's about 8x faster than going through all the C++ proxy gunk.

It needs some tests before it is ready to land.

You need to log in before you can comment on or make changes to this bug.