diff options
author | asvitkine <asvitkine@chromium.org> | 2015-06-09 08:36:42 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-09 15:37:09 +0000 |
commit | e25de0ff2fff45175fed8d2140d8a44213530913 (patch) | |
tree | e56c472d4d104e5cd7382b8aa35122777368b3c2 /crypto/nss_util.cc | |
parent | 6151512345209471009ad1f679bc78c46b998f99 (diff) | |
download | chromium_src-e25de0ff2fff45175fed8d2140d8a44213530913.zip chromium_src-e25de0ff2fff45175fed8d2140d8a44213530913.tar.gz chromium_src-e25de0ff2fff45175fed8d2140d8a44213530913.tar.bz2 |
Deprecate Startup.SlowStartup* histograms.
Per discussion on the associated bug, these aren't as
useful without data for fast start ups and many of these
areas are already being investigated using other
mechanism (i.e. histograms that are always logged, UMA
profiler, etc).
Also updates components/startup_metric_utils/OWNERS
to a more current set of people that are now focusing on
the start up performance problem space, removing
jeremy@ who is no longer working on Chrome.
BUG=246555
Review URL: https://codereview.chromium.org/1167203002
Cr-Commit-Position: refs/heads/master@{#333491}
Diffstat (limited to 'crypto/nss_util.cc')
-rw-r--r-- | crypto/nss_util.cc | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/crypto/nss_util.cc b/crypto/nss_util.cc index df93160..125591c 100644 --- a/crypto/nss_util.cc +++ b/crypto/nss_util.cc @@ -37,7 +37,6 @@ #include "base/logging.h" #include "base/memory/scoped_ptr.h" #include "base/message_loop/message_loop.h" -#include "base/metrics/histogram.h" #include "base/native_library.h" #include "base/path_service.h" #include "base/stl_util.h" @@ -685,8 +684,6 @@ class NSSInitSingleton { initializing_tpm_token_(false), chaps_module_(NULL), root_(NULL) { - base::TimeTicks start_time = base::TimeTicks::Now(); - // It's safe to construct on any thread, since LazyInstance will prevent any // other threads from accessing until the constructor is done. thread_checker_.DetachFromThread(); @@ -783,14 +780,6 @@ class NSSInitSingleton { NSS_SetAlgorithmPolicy(SEC_OID_MD5, 0, NSS_USE_ALG_IN_CERT_SIGNATURE); NSS_SetAlgorithmPolicy(SEC_OID_PKCS1_MD5_WITH_RSA_ENCRYPTION, 0, NSS_USE_ALG_IN_CERT_SIGNATURE); - - // The UMA bit is conditionally set for this histogram in - // components/startup_metric_utils.cc . - LOCAL_HISTOGRAM_CUSTOM_TIMES("Startup.SlowStartupNSSInit", - base::TimeTicks::Now() - start_time, - base::TimeDelta::FromMilliseconds(10), - base::TimeDelta::FromHours(1), - 50); } // NOTE(willchan): We don't actually execute this code since we leak NSS to |