Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert LRU cache a node's event nodes path order and re-use
After extensive implementation and performance analysis, we have assessed that implementing a cache for EventPath node path calculation is not an improvement on the existing code. Although it will improve speed for desktop users, it showed significant regressions for mobile users. The additional caching using hash maps also worsens the memory performance. See full study at [1]. [1] https://docs.google.com/document/d/1vDMQlT_Z73DLWaDsvao-HxPAnbH4Vynzpzxr1_IaVGs/edit?usp=sharing&resourcekey=0-DAkF61syXCMR8M62VesdJA Reverted patches: LRU Cache a node's event nodes path order to re-use https://chromium-review.googlesource.com/c/chromium/src/+/3877370 Avoid unneeded use of Member<> on the stack https://chromium-review.googlesource.com/c/chromium/src/+/3935185 Add Finch experiment config https://chromium-review.googlesource.com/c/chromium/src/+/3933509 Change EventPath caching of size 1 to not use hash sets https://chromium-review.googlesource.com/c/chromium/src/+/4126821 Change-Id: Iefd5a1f132accd909231dd9e3e3a0ffdccc7504b Bug: 329788, 1359407, 1394555 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4189367 Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by: Mason Freed <masonf@chromium.org> Commit-Queue: Di Zhang <dizhangg@chromium.org> Cr-Commit-Position: refs/heads/main@{#1096983}
- Loading branch information
1 parent
bfaec82
commit fd74689
Showing
9 changed files
with
0 additions
and
233 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 0 additions & 34 deletions
34
third_party/blink/perf_tests/events/EventsDispatchingDifferentEventsOnSameNode.html
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters