Chromium Code Reviews
DescriptionImproved and generalized page load metric immediate event logging.
Our current page load metric logging approach has been to log at
the very end of the page lifecycle, in the PageLoadMetricsObserver
OnComplete callback. This keeps metric logging logic simple, but
has some costs. In particular, it means that metrics may be logged
long after events were actually observed on a page load, which leads
to metrics landing in the 'wrong' UMA record, and on Android we see
>10% loss in logging and 7% skew in the mean, likely due to Android
killing the browser process after backgrounding, leading to our code
failing to log metrics for some pages.
This patch introduces a class that makes it easy for us to log metrics
immediately. In a follow up change, this class will be used to log
additional metrics.
BUG=611740
Committed: https://crrev.com/9a521d48e39c57ee5cb42326e9e50bd76dbb4bb2
Cr-Commit-Position: refs/heads/master@{#393599}
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #Patch Set 4 : #
Dependent Patchsets: Messages
Total messages: 14 (4 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||