Skip to content

Reduce disk activity by disabling some unnecessary tasks and telemetry

#41424 (closed) These changes could improve the performance or stability of the browser and will reduce the noise while monitoring preferences and disk activity. Let me know if anything could be improved.

  • Don't initialize Glean if MOZ_SERVICES_HEALTHREPORT is false. This stops creating files under profile.default\datareporting\glean\* (relevant: 4a219f29, 5adea0b1)

  • Don't create these telemetry related files and preferences if MOZ_TELEMETRY_REPORTING is false:

(BrowserUsageTelemetry.reportProfileCount) (Windows only)
Browser\profile_count_UpdateInfo.json

(TelemetryEnvironment.jsm)
profile.default\times.json

(browser.js)
fission.experiment.max-origins.last-disqualified
fission.experiment.max-origins.last-qualified
fission.experiment.max-origins.qualified

(_collectStartupConditionsTelemetry)
browser.startup.lastColdStartupCheck
  • Don't create these files and preferences by disabling activity stream: (relevant: 24f9294a, 9df83c26)
Caches\profile.default\settings\main\ms-language-packs\browser\newtab\asrouter.ftl (this is downloaded)
profile.default\storage\permanent\chrome\idb\1657114595AmcateirvtiSty.files\
profile.default\storage\permanent\chrome\idb\1657114595AmcateirvtiSty.sqlite

browser.newtabpage.activity-stream.impressionId
services.settings.main.cfr.last_check
services.settings.main.message-groups.last_check
services.settings.main.whats-new-panel.last_check
  • Don't create these files by setting webextensions.storage.sync.enabled to false:
profile.default\storage-sync-v2.sqlite
profile.default\storage-sync-v2.sqlite-shm
profile.default\storage-sync-v2.sqlite-wal
  • Don't create these files and preferences on the nightly builds by locking toolkit.telemetry.enabled to false. This would make testing more meaningful by making all builds consistent.
Caches\profile.default\ShutdownDuration.json
profile.default\datareporting\archived\*
profile.default\datareporting\session-state.json
profile.default\Telemetry.ShutdownTime.txt

app.update.lastUpdateTime.telemetry_modules_ping
app.update.lastUpdateTime.telemetry_untrustedmodules_ping
toolkit.telemetry.previousBuildID
Edited by cypherpunks1

Merge request reports

Loading