Closed
Bug 1111159
Opened 10 years ago
Closed 10 years ago
Inline the IsArrayIterator intrinsic
Categories
(Core :: JavaScript Engine: JIT, defect)
Tracking
()
RESOLVED
FIXED
mozilla37
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
Details
Attachments
(1 file)
3.06 KB,
patch
|
Waldo
:
review+
jandem
:
review+
|
Details | Diff | Splinter Review |
In a simple testcase like attachment 8535691 [details] this gives us a 20-25% speedup because instead of doing a CallNative we end up doing ... nothing at all, because TI knows we only have objects with this class coming through here.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8535963 -
Flags: review?(jdemooij)
Comment 2•10 years ago
|
||
Comment on attachment 8535963 [details] [diff] [review] Inline the IsArrayIterator intrinsic in Ion code to speed up for-of loops Review of attachment 8535963 [details] [diff] [review]: ----------------------------------------------------------------- Take it if you want it, I wanted to see if there was anything interesting in this to learn, seeing as I opened up the bug. (There really wasn't.)
Attachment #8535963 -
Flags: review+
Comment 3•10 years ago
|
||
Comment on attachment 8535963 [details] [diff] [review] Inline the IsArrayIterator intrinsic in Ion code to speed up for-of loops Review of attachment 8535963 [details] [diff] [review]: ----------------------------------------------------------------- I don't think I can "fork" a request into two so bz gets review-granted email from me, *and* still has an outstanding request, so flipping the reviews' senses to get at least the former here, at his request.
Assignee | ||
Updated•10 years ago
|
Attachment #8535963 -
Flags: review?(jdemooij)
Comment 4•10 years ago
|
||
Bleh, I wrote a patch for this and IsStringIterator in bug 932714 but forgot to land them :( (In reply to Jeff Walden [:Waldo] (remove +bmo to email) from comment #3) > I don't think I can "fork" a request into two so bz gets review-granted > email from me, *and* still has an outstanding request, so flipping the > reviews' senses to get at least the former here, at his request. The page where you r+, has an "addl. review" field at the bottom so you can r+ there without touching the other requests :)
Comment 6•10 years ago
|
||
Comment on attachment 8535963 [details] [diff] [review] Inline the IsArrayIterator intrinsic in Ion code to speed up for-of loops Review of attachment 8535963 [details] [diff] [review]: ----------------------------------------------------------------- Looks good to me too, thanks for doing this. Maybe you can do the same for IsStringIterator, as it works exactly the same?
Attachment #8535963 -
Flags: review+
Comment 7•10 years ago
|
||
(In reply to Jan de Mooij [:jandem] from comment #4) > (In reply to Jeff Walden [:Waldo] (remove +bmo to email) from comment #3) > > I don't think I can "fork" a request into two so bz gets review-granted > > email from me, *and* still has an outstanding request, so flipping the > > reviews' senses to get at least the former here, at his request. > > The page where you r+, has an "addl. review" field at the bottom so you can > r+ there without touching the other requests :) bz probably doesn't get a review-granted mail in that case. Nevermind me :)
Assignee | ||
Comment 8•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/1910e8b4c026
Assignee | ||
Comment 9•10 years ago
|
||
That's with StringIterator bits too.
Comment 10•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/1910e8b4c026
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
You need to log in
before you can comment on or make changes to this bug.
Description
•