Closed
Bug 851621
Opened 13 years ago
Closed 2 years ago
6 seconds spent in AliasedNameToSlot (from EmitAliasedVarOp) while loading large JS codebase
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: vlad, Unassigned)
References
Details
We throw the latest VTune at the the monster GDC demo codebase. Out of 15s of CompileScript() time, 6 seconds of it is spent on line 895 (maybe 894) in BytecodeEmitter.cpp calling AliasedNameToSlot.
This seems bad, potentially low hanging fruit?
Comment 1•13 years ago
|
||
We could probably shave off a few cycles (that code was written for simplicity, not performance), but, roughly, the reason we're spending so much time in there is because asm.js contains a huge number of upvar references (every use of the heap or global variable).
Fortunately, bug 851421 will make this all go away for asm.js code, so I'm not sure if we need to worry about this.
| Assignee | ||
Updated•11 years ago
|
Assignee: general → nobody
Updated•3 years ago
|
Severity: normal → S3
Updated•2 years ago
|
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•