Bug 1281793 - Remove some non-used telemetry IDs - part 3 - random things, r=chutten
authorAndrea Marchesini <amarchesini@mozilla.com>
Tue, 28 Jun 2016 19:30:15 +0200
changeset 302982 dff93c4f631d2182216912fc434c3db993c6405e
parent 302981 33d663a3d351217ee7cdabe86388c2b199a1bc6e
child 302983 0ac748f4d677ff24baaa3b5becd9239c9fd9f16b
push id30379
push usercbook@mozilla.com
push dateWed, 29 Jun 2016 14:13:35 +0000
treeherdermozilla-central@b69a5bbb5e40 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerschutten
bugs1281793
milestone50.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 1281793 - Remove some non-used telemetry IDs - part 3 - random things, r=chutten
browser/base/content/browser-gestureSupport.js
browser/base/content/tabbrowser.xml
toolkit/components/telemetry/Histograms.json
toolkit/components/telemetry/histogram-whitelists.json
--- a/browser/base/content/browser-gestureSupport.js
+++ b/browser/base/content/browser-gestureSupport.js
@@ -982,17 +982,16 @@ var gHistorySwipeAnimation = {
    */
   _takeSnapshot: function HSA__takeSnapshot() {
     if (!this._readyToTakeSnapshots()) {
       return;
     }
 
     let canvas = null;
 
-    TelemetryStopwatch.start("FX_GESTURE_TAKE_SNAPSHOT_OF_PAGE");
     try {
       let browser = gBrowser.selectedBrowser;
       let r = browser.getBoundingClientRect();
       canvas = document.createElementNS("http://www.w3.org/1999/xhtml",
                                         "canvas");
       canvas.mozOpaque = true;
       let scale = window.devicePixelRatio;
       canvas.width = r.width * scale;
@@ -1001,17 +1000,16 @@ var gHistorySwipeAnimation = {
       let zoom = browser.markupDocumentViewer.fullZoom * scale;
       ctx.scale(zoom, zoom);
       ctx.drawWindow(browser.contentWindow,
                      0, 0, canvas.width / zoom, canvas.height / zoom, "white",
                      ctx.DRAWWINDOW_DO_NOT_FLUSH | ctx.DRAWWINDOW_DRAW_VIEW |
                      ctx.DRAWWINDOW_ASYNC_DECODE_IMAGES |
                      ctx.DRAWWINDOW_USE_WIDGET_LAYERS);
     } finally {
-      TelemetryStopwatch.finish("FX_GESTURE_TAKE_SNAPSHOT_OF_PAGE");
     }
 
     TelemetryStopwatch.start("FX_GESTURE_INSTALL_SNAPSHOT_OF_PAGE");
     try {
       this._installCurrentPageSnapshot(canvas);
       this._assignSnapshotToCurrentBrowser(canvas);
     } finally {
       TelemetryStopwatch.finish("FX_GESTURE_INSTALL_SNAPSHOT_OF_PAGE");
--- a/browser/base/content/tabbrowser.xml
+++ b/browser/base/content/tabbrowser.xml
@@ -5620,20 +5620,16 @@
       <method name="_handleTabTelemetryEnd">
         <parameter name="aTab"/>
         <body>
         <![CDATA[
           if (!aTab._animStartTime) {
             return;
           }
 
-          Services.telemetry.getHistogramById(aTab.closing ?
-                                              "FX_TAB_ANIM_CLOSE_MS" :
-                                              "FX_TAB_ANIM_OPEN_MS")
-                            .add(Date.now() - aTab._animStartTime);
           aTab._animStartTime = 0;
 
           // Handle tab animation smoothness telemetry/logging of frame intervals and paint times
           if (!("_recordingHandle" in aTab)) {
             return;
           }
 
           let intervals = window.QueryInterface(Ci.nsIInterfaceRequestor)
--- a/toolkit/components/telemetry/Histograms.json
+++ b/toolkit/components/telemetry/Histograms.json
@@ -3257,73 +3257,33 @@
   },
   "NETWORK_DISK_CACHE2_SHUTDOWN_CLEAR_PRIVATE": {
     "expires_in_version": "never",
     "kind": "exponential",
     "high": 10000,
     "n_buckets": 10,
     "description": "Time spent (ms) during showdown deleting disk cache v2 for 'clear private data' option"
   },
-  "NETWORK_DISK_CACHE_REVALIDATION": {
-    "expires_in_version": "40",
-    "kind": "exponential",
-    "high": 10000,
-    "n_buckets": 10,
-    "description": "Total Time spent (ms) during disk cache revalidation"
-  },
-  "NETWORK_DISK_CACHE_STREAMIO_CLOSE": {
-    "expires_in_version": "40",
-    "kind": "exponential",
-    "high": 10000,
-    "n_buckets": 10,
-    "description": "Time spent in nsDiskCacheStreamIO::Close() on non-main thread (ms)"
-  },
-  "NETWORK_DISK_CACHE_STREAMIO_CLOSE_MAIN_THREAD": {
-    "expires_in_version": "40",
-    "kind": "exponential",
-    "high": 10000,
-    "n_buckets": 10,
-    "description": "Time spent in nsDiskCacheStreamIO::Close() on the main thread (ms)"
-  },
   "NETWORK_ID": {
     "alert_emails": ["necko@mozilla.com"],
     "bug_numbers": [1240932],
     "expires_in_version": "never",
     "kind": "enumerated",
     "n_values": 6,
     "description": "Network identification (0=None, 1=New, 2=Same)"
   },
-  "IDLE_NOTIFY_BACK_MS": {
-    "expires_in_version": "40",
-    "kind": "exponential",
-    "high": 5000,
-    "n_buckets": 10,
-    "description": "Time spent checking for and notifying listeners that the user is back (ms)"
-  },
-  "IDLE_NOTIFY_BACK_LISTENERS": {
-    "expires_in_version": "40",
-    "kind": "linear",
-    "high": 100,
-    "n_buckets": 20,
-    "description": "Number of listeners notified that the user is back"
-  },
   "IDLE_NOTIFY_IDLE_MS": {
+    "alert_emails": ["froydnj@mozilla.com"],
+    "bug_numbers": [731004],
     "expires_in_version": "default",
     "kind": "exponential",
     "high": 5000,
     "n_buckets": 10,
     "description": "Time spent checking for and notifying listeners that the user is idle (ms)"
   },
-  "IDLE_NOTIFY_IDLE_LISTENERS": {
-    "expires_in_version": "40",
-    "kind": "linear",
-    "high": 100,
-    "n_buckets": 20,
-    "description": "Number of listeners notified that the user is idle"
-  },
   "URLCLASSIFIER_LOOKUP_TIME": {
     "expires_in_version": "never",
     "kind": "exponential",
     "high": 500,
     "n_buckets": 10,
     "description": "Time spent per dbservice lookup (ms)"
   },
   "URLCLASSIFIER_CL_CHECK_TIME": {
@@ -4117,23 +4077,16 @@
   },
   "THUNDERBIRD_INDEXING_RATE_MSG_PER_S": {
     "expires_in_version": "never",
     "kind": "linear",
     "high": 100,
     "n_buckets": 20,
     "description": "Gloda: indexing rate (message/s)"
   },
-  "FX_GESTURE_TAKE_SNAPSHOT_OF_PAGE": {
-    "expires_in_version": "40",
-    "kind": "exponential",
-    "high": 1000,
-    "n_buckets": 30,
-    "description": "Firefox: Time taken to capture the page to a canvas, for reuse while swiping through history (ms)."
-  },
   "FX_GESTURE_INSTALL_SNAPSHOT_OF_PAGE": {
     "expires_in_version": "50",
     "kind": "exponential",
     "high": 1000,
     "n_buckets": 30,
     "description": "Firefox: Time taken to store the image capture of the page to a canvas, for reuse while swiping through history (ms)."
   },
   "FX_GESTURE_COMPRESS_SNAPSHOT_OF_PAGE": {
--- a/toolkit/components/telemetry/histogram-whitelists.json
+++ b/toolkit/components/telemetry/histogram-whitelists.json
@@ -442,17 +442,16 @@
     "FONTLIST_INITFACENAMELISTS",
     "FONTLIST_INITOTHERFAMILYNAMES",
     "FONT_CACHE_HIT",
     "FORCED_DEVICE_RESET_REASON",
     "FX_BOOKMARKS_TOOLBAR_INIT_MS",
     "FX_BROWSER_FULLSCREEN_USED",
     "FX_GESTURE_COMPRESS_SNAPSHOT_OF_PAGE",
     "FX_GESTURE_INSTALL_SNAPSHOT_OF_PAGE",
-    "FX_GESTURE_TAKE_SNAPSHOT_OF_PAGE",
     "FX_IDENTITY_POPUP_OPEN_MS",
     "FX_MIGRATION_ENTRY_POINT",
     "FX_MIGRATION_ERRORS",
     "FX_MIGRATION_HOMEPAGE_IMPORTED",
     "FX_MIGRATION_SOURCE_BROWSER",
     "FX_MIGRATION_USAGE",
     "FX_NEW_WINDOW_MS",
     "FX_PAGE_LOAD_MS",
@@ -555,20 +554,16 @@
     "HTTP_SUB_OPEN_TO_FIRST_FROM_CACHE_V2",
     "HTTP_SUB_OPEN_TO_FIRST_RECEIVED",
     "HTTP_SUB_OPEN_TO_FIRST_SENT",
     "HTTP_SUB_REVALIDATION",
     "HTTP_SUB_TCP_CONNECTION",
     "HTTP_TRANSACTION_IS_SSL",
     "HTTP_TRANSACTION_USE_ALTSVC",
     "HTTP_TRANSACTION_USE_ALTSVC_OE",
-    "IDLE_NOTIFY_BACK_LISTENERS",
-    "IDLE_NOTIFY_BACK_MS",
-    "IDLE_NOTIFY_IDLE_LISTENERS",
-    "IDLE_NOTIFY_IDLE_MS",
     "IMAGE_DECODE_CHUNKS",
     "IMAGE_DECODE_COUNT",
     "IMAGE_DECODE_LATENCY_US",
     "IMAGE_DECODE_ON_DRAW_LATENCY",
     "IMAGE_DECODE_SPEED_GIF",
     "IMAGE_DECODE_SPEED_JPEG",
     "IMAGE_DECODE_SPEED_PNG",
     "IMAGE_DECODE_TIME",
@@ -691,22 +686,19 @@
     "NETWORK_CACHE_V2_HIT_TIME_MS",
     "NETWORK_CACHE_V2_INPUT_STREAM_STATUS",
     "NETWORK_CACHE_V2_MISS_TIME_MS",
     "NETWORK_CACHE_V2_OUTPUT_STREAM_STATUS",
     "NETWORK_DISK_CACHE2_SHUTDOWN_CLEAR_PRIVATE",
     "NETWORK_DISK_CACHE_DELETEDIR",
     "NETWORK_DISK_CACHE_DELETEDIR_SHUTDOWN",
     "NETWORK_DISK_CACHE_OPEN",
-    "NETWORK_DISK_CACHE_REVALIDATION",
     "NETWORK_DISK_CACHE_SHUTDOWN",
     "NETWORK_DISK_CACHE_SHUTDOWN_CLEAR_PRIVATE",
     "NETWORK_DISK_CACHE_SHUTDOWN_V2",
-    "NETWORK_DISK_CACHE_STREAMIO_CLOSE",
-    "NETWORK_DISK_CACHE_STREAMIO_CLOSE_MAIN_THREAD",
     "NETWORK_DISK_CACHE_TRASHRENAME",
     "NEWTAB_PAGE_BLOCKED_SITES_COUNT",
     "NEWTAB_PAGE_ENABLED",
     "NEWTAB_PAGE_ENHANCED",
     "NEWTAB_PAGE_LIFE_SPAN",
     "NEWTAB_PAGE_LIFE_SPAN_SUGGESTED",
     "NEWTAB_PAGE_PINNED_SITES_COUNT",
     "NEWTAB_PAGE_SHOWN",
@@ -1529,17 +1521,16 @@
     "FONTLIST_INITOTHERFAMILYNAMES",
     "FONT_CACHE_HIT",
     "FORCED_DEVICE_RESET_REASON",
     "FORGET_SKIPPABLE_MAX",
     "FX_BOOKMARKS_TOOLBAR_INIT_MS",
     "FX_BROWSER_FULLSCREEN_USED",
     "FX_GESTURE_COMPRESS_SNAPSHOT_OF_PAGE",
     "FX_GESTURE_INSTALL_SNAPSHOT_OF_PAGE",
-    "FX_GESTURE_TAKE_SNAPSHOT_OF_PAGE",
     "FX_IDENTITY_POPUP_OPEN_MS",
     "FX_MIGRATION_ENTRY_POINT",
     "FX_MIGRATION_ERRORS",
     "FX_MIGRATION_HOMEPAGE_IMPORTED",
     "FX_MIGRATION_SOURCE_BROWSER",
     "FX_MIGRATION_USAGE",
     "FX_NEW_WINDOW_MS",
     "FX_PAGE_LOAD_MS",
@@ -1699,20 +1690,16 @@
     "HTTP_SUB_OPEN_TO_FIRST_FROM_CACHE_V2",
     "HTTP_SUB_OPEN_TO_FIRST_RECEIVED",
     "HTTP_SUB_OPEN_TO_FIRST_SENT",
     "HTTP_SUB_REVALIDATION",
     "HTTP_SUB_TCP_CONNECTION",
     "HTTP_TRANSACTION_IS_SSL",
     "HTTP_TRANSACTION_USE_ALTSVC",
     "HTTP_TRANSACTION_USE_ALTSVC_OE",
-    "IDLE_NOTIFY_BACK_LISTENERS",
-    "IDLE_NOTIFY_BACK_MS",
-    "IDLE_NOTIFY_IDLE_LISTENERS",
-    "IDLE_NOTIFY_IDLE_MS",
     "IMAGE_DECODE_CHUNKS",
     "IMAGE_DECODE_COUNT",
     "IMAGE_DECODE_LATENCY_US",
     "IMAGE_DECODE_ON_DRAW_LATENCY",
     "IMAGE_DECODE_SPEED_GIF",
     "IMAGE_DECODE_SPEED_JPEG",
     "IMAGE_DECODE_SPEED_PNG",
     "IMAGE_DECODE_TIME",
@@ -1862,22 +1849,19 @@
     "NETWORK_CACHE_V2_HIT_TIME_MS",
     "NETWORK_CACHE_V2_INPUT_STREAM_STATUS",
     "NETWORK_CACHE_V2_MISS_TIME_MS",
     "NETWORK_CACHE_V2_OUTPUT_STREAM_STATUS",
     "NETWORK_DISK_CACHE2_SHUTDOWN_CLEAR_PRIVATE",
     "NETWORK_DISK_CACHE_DELETEDIR",
     "NETWORK_DISK_CACHE_DELETEDIR_SHUTDOWN",
     "NETWORK_DISK_CACHE_OPEN",
-    "NETWORK_DISK_CACHE_REVALIDATION",
     "NETWORK_DISK_CACHE_SHUTDOWN",
     "NETWORK_DISK_CACHE_SHUTDOWN_CLEAR_PRIVATE",
     "NETWORK_DISK_CACHE_SHUTDOWN_V2",
-    "NETWORK_DISK_CACHE_STREAMIO_CLOSE",
-    "NETWORK_DISK_CACHE_STREAMIO_CLOSE_MAIN_THREAD",
     "NETWORK_DISK_CACHE_TRASHRENAME",
     "NEWTAB_PAGE_BLOCKED_SITES_COUNT",
     "NEWTAB_PAGE_ENABLED",
     "NEWTAB_PAGE_ENHANCED",
     "NEWTAB_PAGE_LIFE_SPAN",
     "NEWTAB_PAGE_LIFE_SPAN_SUGGESTED",
     "NEWTAB_PAGE_PINNED_SITES_COUNT",
     "NEWTAB_PAGE_SHOWN",