Closed Bug 932886 Opened 11 years ago Closed 11 years ago

Stop doing slow getService bits in dom::GetCurrentJSStack

Categories

(Core :: DOM: Core & HTML, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla28

People

(Reporter: bzbarsky, Assigned: smaug)

References

Details

(Keywords: perf)

Attachments

(1 file)

It shows up in profiles of jQuery stuff, which often throws exceptions from invalid selectors...
Keywords: perf
Blocks: 932837
Assignee: nobody → bugs
Comment on attachment 824784 [details] [diff] [review]
faster_ex.diff

Lovely null-checks on things that promise to not return null.  :(

r=me, I guess.
Attachment #824784 - Flags: review?(bzbarsky) → review+
https://hg.mozilla.org/mozilla-central/rev/2051525da57d
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: