|
Add various UMA histograms for measuring GCM crypto performance
This adds (and tests) UMA in the GCMKeyStore, an on-disk database, and
the decryption routines part of the GCMEncryptionProvider and the
GCMMessageCryptographer.
Adding the metrics comes with an extra free refactoring adjusting the
message-received flow to make it cleaner to measure them.
BUG= 486040
Committed: https://crrev.com/266a2aa40f2fb11662afe0af694b4be0cfb3efe4
Cr-Commit-Position: refs/heads/master@{#376501}
Total comments: 4
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+266 lines, -148 lines) |
Patch |
 |
M |
components/gcm_driver/crypto/BUILD.gn
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
components/gcm_driver/crypto/gcm_encryption_provider.h
|
View
|
|
3 chunks |
+33 lines, -27 lines |
0 comments
|
Download
|
 |
M |
components/gcm_driver/crypto/gcm_encryption_provider.cc
|
View
|
|
10 chunks |
+35 lines, -27 lines |
0 comments
|
Download
|
 |
M |
components/gcm_driver/crypto/gcm_encryption_provider_unittest.cc
|
View
|
|
7 chunks |
+32 lines, -48 lines |
0 comments
|
Download
|
 |
M |
components/gcm_driver/crypto/gcm_key_store.cc
|
View
|
|
6 chunks |
+10 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/gcm_driver/crypto/gcm_key_store_unittest.cc
|
View
|
|
8 chunks |
+31 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/gcm_driver/fake_gcm_client.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/gcm_driver/fake_gcm_client.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/gcm_driver/fake_gcm_driver.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/gcm_driver/fake_gcm_driver.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/gcm_driver/gcm_client.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/gcm_driver/gcm_client_impl.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/gcm_driver/gcm_client_impl.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/gcm_driver/gcm_driver.h
|
View
|
1
2
|
2 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/gcm_driver/gcm_driver.cc
|
View
|
1
2
3
|
2 chunks |
+26 lines, -9 lines |
0 comments
|
Download
|
 |
M |
components/gcm_driver/gcm_driver_android.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/gcm_driver/gcm_driver_android.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/gcm_driver/gcm_driver_desktop.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/gcm_driver/gcm_driver_desktop.cc
|
View
|
1
2
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
components/gcm_driver/gcm_stats_recorder_android.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/gcm_driver/gcm_stats_recorder_android.cc
|
View
|
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/gcm_driver/gcm_stats_recorder_android_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/gcm_driver/gcm_stats_recorder_impl.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/gcm_driver/gcm_stats_recorder_impl.cc
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/gcm_driver/gcm_stats_recorder_impl_unittest.cc
|
View
|
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
tools/metrics/histograms/histograms.xml
|
View
|
1
2
3
4
|
2 chunks |
+53 lines, -0 lines |
0 comments
|
Download
|
Total messages: 23 (10 generated)
|