summaryrefslogtreecommitdiffstats
path: root/application/basilisk/components/migration/MigrationUtils.jsm
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@gmail.com>2018-08-20 08:18:55 +0200
committerGitHub <noreply@github.com>2018-08-20 08:18:55 +0200
commit29fbe8f27d58a0dfa64aadbbd1757dbbeff3a4fd (patch)
tree36c3c1770d3a2e636e34259975401014e923ddf1 /application/basilisk/components/migration/MigrationUtils.jsm
parentf36ad080c6f2f13012180dc0ac566893be9020ad (diff)
parentf3ea4b9d7ac88193b0669e12a31a20685c89691b (diff)
downloadUXP-29fbe8f27d58a0dfa64aadbbd1757dbbeff3a4fd.tar
UXP-29fbe8f27d58a0dfa64aadbbd1757dbbeff3a4fd.tar.gz
UXP-29fbe8f27d58a0dfa64aadbbd1757dbbeff3a4fd.tar.lz
UXP-29fbe8f27d58a0dfa64aadbbd1757dbbeff3a4fd.tar.xz
UXP-29fbe8f27d58a0dfa64aadbbd1757dbbeff3a4fd.zip
Merge pull request #716 from g4jc/remove_telemetry_stopwatch
Basilisk: Remove TelemetryStopwatch
Diffstat (limited to 'application/basilisk/components/migration/MigrationUtils.jsm')
-rw-r--r--application/basilisk/components/migration/MigrationUtils.jsm16
1 files changed, 0 insertions, 16 deletions
diff --git a/application/basilisk/components/migration/MigrationUtils.jsm b/application/basilisk/components/migration/MigrationUtils.jsm
index e133ec520..ccae006fe 100644
--- a/application/basilisk/components/migration/MigrationUtils.jsm
+++ b/application/basilisk/components/migration/MigrationUtils.jsm
@@ -32,8 +32,6 @@ XPCOMUtils.defineLazyModuleGetter(this, "ResponsivenessMonitor",
"resource://gre/modules/ResponsivenessMonitor.jsm");
XPCOMUtils.defineLazyModuleGetter(this, "Sqlite",
"resource://gre/modules/Sqlite.jsm");
-XPCOMUtils.defineLazyModuleGetter(this, "TelemetryStopwatch",
- "resource://gre/modules/TelemetryStopwatch.jsm");
XPCOMUtils.defineLazyModuleGetter(this, "WindowsRegistry",
"resource://gre/modules/WindowsRegistry.jsm");
@@ -254,14 +252,6 @@ this.MigratorPrototype = {
let browserKey = this.getBrowserKey();
- let maybeStartTelemetryStopwatch = resourceType => {
- let histogramId = getHistogramIdForResourceType(resourceType, "FX_MIGRATION_*_IMPORT_MS");
- if (histogramId) {
- TelemetryStopwatch.startKeyed(histogramId, browserKey);
- }
- return histogramId;
- };
-
let maybeStartResponsivenessMonitor = resourceType => {
let responsivenessMonitor;
let responsivenessHistogramId =
@@ -323,8 +313,6 @@ this.MigratorPrototype = {
for (let [migrationType, itemResources] of resourcesGroupedByItems) {
notify("Migration:ItemBeforeMigrate", migrationType);
- let stopwatchHistogramId = maybeStartTelemetryStopwatch(migrationType);
-
let {responsivenessMonitor, responsivenessHistogramId} =
maybeStartResponsivenessMonitor(migrationType);
@@ -340,10 +328,6 @@ this.MigratorPrototype = {
migrationType);
resourcesGroupedByItems.delete(migrationType);
- if (stopwatchHistogramId) {
- TelemetryStopwatch.finishKeyed(stopwatchHistogramId, browserKey);
- }
-
maybeFinishResponsivenessMonitor(responsivenessMonitor, responsivenessHistogramId);
if (resourcesGroupedByItems.size == 0) {