[Webkit-unassigned] [Bug 193616] New: Web Inspector: Make completion popover faster
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Jan 19 18:09:08 PST 2019
https://bugs.webkit.org/show_bug.cgi?id=193616
Bug ID: 193616
Summary: Web Inspector: Make completion popover faster
Product: WebKit
Version: WebKit Nightly Build
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P4
Component: Web Inspector
Assignee: webkit-unassigned at lists.webkit.org
Reporter: nvasilyev at apple.com
CC: inspector-bugzilla-changes at group.apple.com
CompletionSuggestionsView.prototype.hideWhenElementMoves calls getBoundingClientRect() every 0.2 seconds.
getBoundingClientRect isn't terribly expensive:
console.time("getBoundingClientRect");
let clientRect = element.getBoundingClientRect();
console.timeEnd("getBoundingClientRect");
It was between 0.02ms and 0.07ms when adding a new property to <body> on webkit.org.
If it's possible, we should use IntersectionObserver instead.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190120/f7e7fc57/attachment-0001.html>
More information about the webkit-unassigned
mailing list