This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Web Inspector: Search tab should lazily insert/remove its navigation …
…sidebar tree items during scrolling https://bugs.webkit.org/show_bug.cgi?id=242419 rdar://problem/96601304 Reviewed by Devin Rousso. Improve performance of the Search tab by virtualizing the navigation tree outline, which allows us to reduce the number of DOM elements that are attached to the DOM at any given point. This accounts for about 50% of the performance improvements that have taken searching for the letter `a` on webkit.org from ~13 seconds to under a second (using manual stopwatch testing across 5 tests before and after). The other 50% of the improvement is from bug 242450 (Web Inspector: Lazily create SourceCodeTextRange for search result objects). Note that very large sites still pose a problem, but instrumenting search performance has been tricky because they lock up and never return performance/timing data. * Source/WebInspectorUI/UserInterface/Views/SearchSidebarPanel.js: (WI.SearchSidebarPanel): Canonical link: https://commits.webkit.org/252279@main
- Loading branch information
Showing 1 changed file with 2 additions and 0 deletions.