diff options
author | Gaming4JC <g4jc@bulletmail.org> | 2018-08-19 18:18:36 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@bulletmail.org> | 2018-08-19 18:18:36 -0400 |
commit | f3ea4b9d7ac88193b0669e12a31a20685c89691b (patch) | |
tree | 36c3c1770d3a2e636e34259975401014e923ddf1 /application/basilisk/components/migration/MigrationUtils.jsm | |
parent | f36ad080c6f2f13012180dc0ac566893be9020ad (diff) | |
download | UXP-f3ea4b9d7ac88193b0669e12a31a20685c89691b.tar UXP-f3ea4b9d7ac88193b0669e12a31a20685c89691b.tar.gz UXP-f3ea4b9d7ac88193b0669e12a31a20685c89691b.tar.lz UXP-f3ea4b9d7ac88193b0669e12a31a20685c89691b.tar.xz UXP-f3ea4b9d7ac88193b0669e12a31a20685c89691b.zip |
Basilisk: Remove TelemetryStopwatch
Diffstat (limited to 'application/basilisk/components/migration/MigrationUtils.jsm')
-rw-r--r-- | application/basilisk/components/migration/MigrationUtils.jsm | 16 |
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) { |