This repository has been archived by the owner on Apr 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add histogram for tracking the time for retrieving system accounts.
On Android, it might be slow to retrieve the list of accounts, and as such, we should track how long time it takes to query for them, since this is done from the main thread. BUG=509826 Review URL: https://codereview.chromium.org/1260663004 Cr-Commit-Position: refs/heads/master@{#341228} (cherry picked from commit 96bb0fd) Review URL: https://codereview.chromium.org/1277823002 . Cr-Commit-Position: refs/branch-heads/2454@{#247} Cr-Branched-From: 12bfc33-refs/heads/master@{#338390}
- Loading branch information
1 parent
a0c54b2
commit 6e2542f
Showing
2 changed files
with
37 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38962,6 +38962,13 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. | |
</summary> | ||
</histogram> | ||
|
||
<histogram name="Signin.AndroidGetAccountsTime" units="milliseconds"> | ||
<owner>[email protected]</owner> | ||
<summary> | ||
The time it takes to retrieve the list of accounts from the system. | ||
</summary> | ||
</histogram> | ||
|
||
<histogram name="Signin.AndroidSigninPromo" enum="AndroidSigninPromoAction"> | ||
<owner>[email protected]</owner> | ||
<summary>Track how a user interfacts with the android signin promo.</summary> | ||
|
@@ -70476,6 +70483,12 @@ To add a new entry, add it with any value and run test to compute valid value. | |
<affected-histogram name="PLT.StartToFinish_NormalLoad"/> | ||
</histogram_suffixes> | ||
|
||
<histogram_suffixes name="AndroidGetAccountsTypes"> | ||
<suffix name="AccountManager" label="Using Android AccountManager API"/> | ||
<suffix name="GoogleAuthUtil" label="Using GoogleAuthUtil API"/> | ||
<affected-histogram name="Signin.AndroidGetAccountsTime"/> | ||
</histogram_suffixes> | ||
|
||
<histogram_suffixes name="AppListFirstPaintWarmStartFast" separator=""> | ||
<suffix name="" label="Normal start."/> | ||
<suffix name="Fast" | ||
|