Bug 1367353 - Correct the spelling to NETWORK_RACE_CACHE_BANDWIDTH*. r=michal, data-r=bsmedberg
authorJunior Hsu <juhsu@mozilla.com>
Wed, 24 May 2017 19:46:00 -0400
changeset 360799 f8c4b41a0541208c4e779fe5e1b033ed606e20fb
parent 360798 1bf1d62654f54a93ff38701ca6a17d4def4998a6
child 360800 3c3ddcb925d1fd92a0f36574a71be6b3bee21fff
push id90734
push userryanvm@gmail.com
push dateFri, 26 May 2017 14:46:39 +0000
treeherdermozilla-inbound@f8c4b41a0541 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmichal
bugs1367353
milestone55.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1367353 - Correct the spelling to NETWORK_RACE_CACHE_BANDWIDTH*. r=michal, data-r=bsmedberg
netwerk/protocol/http/nsHttpChannel.cpp
toolkit/components/telemetry/Histograms.json
--- a/netwerk/protocol/http/nsHttpChannel.cpp
+++ b/netwerk/protocol/http/nsHttpChannel.cpp
@@ -8859,20 +8859,20 @@ nsHttpChannel::ReportRcwnStats(nsIReques
     enum RaceCacheAndNetStatus
     {
         kDidNotRaceUsedNetwork = 0,
         kDidNotRaceUsedCache = 1,
         kRaceUsedNetwork = 2,
         kRaceUsedCache = 3
     };
     static const Telemetry::HistogramID kRcwnTelemetry[4] = {
-        Telemetry::NETWORK_RACE_CACHE_BANDWITH_NOT_RACE,
-        Telemetry::NETWORK_RACE_CACHE_BANDWITH_NOT_RACE,
-        Telemetry::NETWORK_RACE_CACHE_BANDWITH_RACE_NETWORK_WIN,
-        Telemetry::NETWORK_RACE_CACHE_BANDWITH_RACE_CACHE_WIN
+        Telemetry::NETWORK_RACE_CACHE_BANDWIDTH_NOT_RACE,
+        Telemetry::NETWORK_RACE_CACHE_BANDWIDTH_NOT_RACE,
+        Telemetry::NETWORK_RACE_CACHE_BANDWIDTH_RACE_NETWORK_WIN,
+        Telemetry::NETWORK_RACE_CACHE_BANDWIDTH_RACE_CACHE_WIN
     };
 
     RaceCacheAndNetStatus rcwnStatus = kDidNotRaceUsedNetwork;
     if (firstResponseRequest == mTransactionPump) {
         rcwnStatus = mRaceCacheWithNetwork ? kRaceUsedNetwork : kDidNotRaceUsedNetwork;
     } else if (firstResponseRequest == mCachePump) {
         rcwnStatus = mRaceCacheWithNetwork ? kRaceUsedCache : kDidNotRaceUsedCache;
     }
--- a/toolkit/components/telemetry/Histograms.json
+++ b/toolkit/components/telemetry/Histograms.json
@@ -2437,39 +2437,39 @@
     "expires_in_version": "62",
     "alert_emails": ["necko@mozilla.com", "bsmedberg@mozilla.com"],
     "bug_numbers": [1354407],
     "kind": "linear",
     "high": 1000,
     "n_buckets": 100,
     "description": "Time in milliseconds between onStartRequest from the cache and onCacheEntryCheck. Report only when net wins and OCEC is before onStartRequest from net."
   },
-  "NETWORK_RACE_CACHE_BANDWITH_RACE_NETWORK_WIN": {
+  "NETWORK_RACE_CACHE_BANDWIDTH_RACE_NETWORK_WIN": {
     "record_in_processes": ["main", "content"],
     "expires_in_version": "62",
     "kind": "exponential",
     "low": 32,
     "high": 16777216,
     "n_buckets": 100,
     "description": "Amount of bytes received when we decide to race cache with network and network wins.",
     "alert_emails": ["necko@mozilla.com", "bsmedberg@mozilla.com"],
     "bug_numbers": [1354405]
   },
-  "NETWORK_RACE_CACHE_BANDWITH_RACE_CACHE_WIN": {
+  "NETWORK_RACE_CACHE_BANDWIDTH_RACE_CACHE_WIN": {
     "record_in_processes": ["main", "content"],
     "expires_in_version": "62",
     "kind": "exponential",
     "low": 32,
     "high": 16777216,
     "n_buckets": 100,
     "description": "Amount of bytes received when we decide to race cache with network and cache wins.",
     "alert_emails": ["necko@mozilla.com", "bsmedberg@mozilla.com"],
     "bug_numbers": [1354405]
   },
-  "NETWORK_RACE_CACHE_BANDWITH_NOT_RACE": {
+  "NETWORK_RACE_CACHE_BANDWIDTH_NOT_RACE": {
     "record_in_processes": ["main", "content"],
     "expires_in_version": "62",
     "kind": "exponential",
     "low": 32,
     "high": 16777216,
     "n_buckets": 100,
     "description": "Amount of bytes received when we decide not to race cache with network.",
     "alert_emails": ["necko@mozilla.com", "bsmedberg@mozilla.com"],