Closed
Bug 789448
Opened 13 years ago
Closed 13 years ago
IonMonkey: Don't call GetPcScript under ToIdOperation
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: jandem, Assigned: jandem)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
3.09 KB,
patch
|
dvander
:
review+
|
Details | Diff | Splinter Review |
This patch just passes the script/pc to the stub. The micro-benchmark below drops from 503 ms to 209 ms, about as fast as JM+TI. Bug 612993, where I noticed this, improves from 22 ms to 19.3 ms.
function test() {
var s1 = "foo";
var o = {foo: 0};
for (var i=0; i<2000000; i++) {
o[s1]++;
}
print(o.foo);
}
var t = new Date;
test();
print(new Date - t);
Attachment #659227 -
Flags: review?(dvander)
![]() |
||
Updated•13 years ago
|
Attachment #659227 -
Flags: review?(dvander) → review+
Assignee | ||
Comment 1•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•