Closed Bug 790183 Opened 12 years ago Closed 12 years ago

Sending unnecessary IPC message during cross-process touch event dispatch

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla18

People

(Reporter: cjones, Assigned: cjones)

References

Details

Attachments

(1 file)

See bug 780341 comment 16.  We don't care about PBrowser:ContentReceivedTouch except for async pan/zoomed content (when an apzc may be involved).

Without the simple fix, with bug 788943 applied, the homescreen panning framerate hits 35-37 fps (dipping down because of bug 789664).
With the fix, framerate seems to *drop* to 33-35 fps.  Iiiinteresting.  Will confirm that this write() disappears from profiles in a bit.
The simple patch doesn't make the write() go away (which in retrospect makes sense, since we're already in ViewManager!), so the source is something else.

http://people.mozilla.com/~bgirard/cleopatra/?report=94b0219c17e2d4f87c1fd966dddd78fe85d3a8d7
Profile after this patch

http://people.mozilla.com/~bgirard/cleopatra/?report=9b48099b1f39f9d3ed5df9bc5c6a272ddb928bb2

The unnecessary IPC traffic is gone.
Assignee: nobody → jones.chris.g
Attachment #660196 - Flags: review?(roc)
https://hg.mozilla.org/mozilla-central/rev/a5700bc77ea5
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
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: