Closed
Bug 966279
Opened 10 years ago
Closed 10 years ago
One-line function not inlined
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: marco, Unassigned)
Details
Attachments
(1 file)
2.00 KB,
application/x-javascript
|
Details |
The function maxHeapify calls the function left, that is a one-liner. If I remove the function call and substitute its code in its caller, the performance improves slightly. So I guess the function isn't inlined. I'm running this snippet in the IE console and in the Firefox console, and IE is a lot faster here (40 ms vs 600 ms).
Comment 1•10 years ago
|
||
Baseline is faster than Ion on this one (55ms vs 250ms without parallel compilation). Except maxHeapify being not inlined as it's recursive, I don't see anything particular Ion flags logs (no bailouts nor OSI).
Reporter | ||
Comment 2•10 years ago
|
||
The performance in the Developer Tools console is quite different than in normal web pages. Firefox is faster than IE and the function |left| is actually inlined.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•