зеркало из https://github.com/mozilla/gecko-dev.git
12e7d2f648
While in theory ReducetimePrecision(x) == ReducetimePrecision(ReducetimePrecision(x) this is not always the case. Sometimes ReducetimePrecision(x) is only representable as an epsilon below the target rounding; resulting in a second call causing an unintentional additional reduction. A performance entry's duration was one such place we were calling the reuction function twice. We can remove one of those calls and just ensure that the original entries are reduced. (They mostly were, except for one instance.) Differential Revision: https://phabricator.services.mozilla.com/D39969 --HG-- extra : rebase_source : 19e92f39c1616f3497d8904b2f80b68b13bad3e7 |
||
---|---|---|
.. | ||
tests | ||
Performance.cpp | ||
Performance.h | ||
PerformanceEntry.cpp | ||
PerformanceEntry.h | ||
PerformanceMainThread.cpp | ||
PerformanceMainThread.h | ||
PerformanceMark.cpp | ||
PerformanceMark.h | ||
PerformanceMeasure.cpp | ||
PerformanceMeasure.h | ||
PerformanceNavigation.cpp | ||
PerformanceNavigation.h | ||
PerformanceNavigationTiming.cpp | ||
PerformanceNavigationTiming.h | ||
PerformanceObserver.cpp | ||
PerformanceObserver.h | ||
PerformanceObserverEntryList.cpp | ||
PerformanceObserverEntryList.h | ||
PerformanceResourceTiming.cpp | ||
PerformanceResourceTiming.h | ||
PerformanceServerTiming.cpp | ||
PerformanceServerTiming.h | ||
PerformanceService.cpp | ||
PerformanceService.h | ||
PerformanceStorage.h | ||
PerformanceStorageWorker.cpp | ||
PerformanceStorageWorker.h | ||
PerformanceTiming.cpp | ||
PerformanceTiming.h | ||
PerformanceWorker.cpp | ||
PerformanceWorker.h | ||
moz.build |