mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 09:15:35 +00:00
48840088a2
Introduces a generation number in dom::base::Document as well as a cached version of TabSizes we can Get and Set. When the document is changed, the cache is invalidated. This change improves about:performance speed by avoiding a heavy recursive call on big DOM trees via GetTabSizes() calls. If the page does not change, the cached values are returned. Differential Revision: https://phabricator.services.mozilla.com/D20526 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
moz.build | ||
PerformanceMetricsCollector.cpp | ||
PerformanceMetricsCollector.h | ||
PerformanceTypes.h | ||
PerformanceUtils.cpp | ||
PerformanceUtils.h |