optimize inner function compilation to avoid excess cloning

RESOLVED FIXED

Status

()

Core
JavaScript Engine
RESOLVED FIXED
10 years ago
10 years ago

People

(Reporter: shaver, Unassigned)

Tracking

({perf})

Trunk
x86
Mac OS X
Points:
---
Bug Flags:
in-testsuite -
in-litmus -

Firefox Tracking Flags

(Not tracked)

Details

We currently don't propagate TCF_COMPILE_N_GO sufficiently aggressively, so we have to do expensive cloning at function runtime.

http://hg.mozilla.org/tracemonkey/index.cgi/rev/eda3a62d9630 reduces our time on function-closure from sunspider/ubench from 112 to 40 on my machine.

Comment 1

10 years ago
This must have been merged into m-c
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
Flags: in-testsuite-
Flags: in-litmus-
You need to log in before you can comment on or make changes to this bug.