diff options
author | Moonchild <mcwerewolf@gmail.com> | 2018-08-20 08:18:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-20 08:18:55 +0200 |
commit | 29fbe8f27d58a0dfa64aadbbd1757dbbeff3a4fd (patch) | |
tree | 36c3c1770d3a2e636e34259975401014e923ddf1 /application/basilisk/components/migration/MigrationUtils.jsm | |
parent | f36ad080c6f2f13012180dc0ac566893be9020ad (diff) | |
parent | f3ea4b9d7ac88193b0669e12a31a20685c89691b (diff) | |
download | UXP-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.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) { |