Closed Bug 789448 Opened 13 years ago Closed 13 years ago

IonMonkey: Don't call GetPcScript under ToIdOperation

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jandem, Assigned: jandem)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached patch PatchSplinter 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)
Blocks: IonSpeed
Attachment #659227 - Flags: review?(dvander) → review+
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.

Attachment

General

Created:
Updated:
Size: