[Webkit-unassigned] [Bug 158491] New: Web Inspector: reduce timer churn when processing many DOM.attributeModified messages
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jun 7 13:36:23 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=158491
Bug ID: 158491
Summary: Web Inspector: reduce timer churn when processing many
DOM.attributeModified messages
Classification: Unclassified
Product: WebKit
Version: WebKit Local Build
Hardware: All
OS: All
Status: NEW
Keywords: InRadar
Severity: Normal
Priority: P2
Component: Web Inspector
Assignee: webkit-unassigned at lists.webkit.org
Reporter: bburg at apple.com
CC: bburg at apple.com, graouts at webkit.org,
joepeck at webkit.org, mattbaker at apple.com,
nvasilyev at apple.com, timothy at apple.com,
webkit-bug-importer at group.apple.com
This patch fixes two issues at play in 142466 and 156250.
We currently use the Object.debounce/Object.soon proxy to try to coalesce calls to DOMTreeUpdater._attributesModified. Unfortunately, this doesn't coalesce very many calls because .soon is equivalent to using setTimeout(0). So we end up setting and clearing a timer for every attribute modification, and only coalesce calls until the timer fires. This means we also update the DOMTreeOutline multiple times per frame because this work is not done on a requestAnimationFrame, and the timer could fire many times in a frame's time slice.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160607/206321e9/attachment-0001.html>
More information about the webkit-unassigned
mailing list