Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c6e3790b95dce89d1332cdf978d12608ce5626dd
https://github.com/WebKit/WebKit/commit/c6e3790b95dce89d1332cdf978d12608ce5626dd
Author: Joshua Hoffman <[email protected]>
Date: 2023-10-07 (Sat, 07 Oct 2023)
Changed paths:
M Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.cpp
Log Message:
-----------
AX: accessibilityIsIgnored cache is not enabled at updateChildrenForObjects
level
https://bugs.webkit.org/show_bug.cgi?id=262800
rdar://problem/116589024
Reviewed by Tyler Wilcock.
We utilize the AXComputedObjectAttributeCache to cache the isIgnored value of
objects
across certain scopes. Right now, it is enabled in the scope of
AXIsolatedTree::updateChildren.
This patch enables the cache in AXIsolatedTree::updateChildrenForObjects,
allowing all
of the appends downstream to take advantage of the caching. In testing, this
can save
up to 20% of samples of accessibilityIsIgnored.
* Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.cpp:
(WebCore::AXIsolatedTree::updateChildrenForObjects):
Canonical link: https://commits.webkit.org/269042@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes