Skip to content

Commit

Permalink
Bug 1281793 - Remove some non-used telemetry IDs - part 3 - random th…
Browse files Browse the repository at this point in the history
…ings, r=chutten
  • Loading branch information
bakulf committed Jun 28, 2016
1 parent 04cbf66 commit cc90f60
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 71 deletions.
2 changes: 0 additions & 2 deletions browser/base/content/browser-gestureSupport.js
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,6 @@ var gHistorySwipeAnimation = {

let canvas = null;

TelemetryStopwatch.start("FX_GESTURE_TAKE_SNAPSHOT_OF_PAGE");
try {
let browser = gBrowser.selectedBrowser;
let r = browser.getBoundingClientRect();
Expand All @@ -1006,7 +1005,6 @@ var gHistorySwipeAnimation = {
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");
Expand Down
4 changes: 0 additions & 4 deletions browser/base/content/tabbrowser.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5625,10 +5625,6 @@
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
Expand Down
51 changes: 2 additions & 49 deletions toolkit/components/telemetry/Histograms.json
Original file line number Diff line number Diff line change
Expand Up @@ -3262,27 +3262,6 @@
"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],
Expand All @@ -3291,34 +3270,15 @@
"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",
Expand Down Expand Up @@ -4122,13 +4082,6 @@
"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",
Expand Down
16 changes: 0 additions & 16 deletions toolkit/components/telemetry/histogram-whitelists.json
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,6 @@
"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",
Expand Down Expand Up @@ -560,10 +559,6 @@
"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",
Expand Down Expand Up @@ -696,12 +691,9 @@
"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",
Expand Down Expand Up @@ -1534,7 +1526,6 @@
"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",
Expand Down Expand Up @@ -1704,10 +1695,6 @@
"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",
Expand Down Expand Up @@ -1867,12 +1854,9 @@
"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",
Expand Down

0 comments on commit cc90f60

Please sign in to comment.