Bug 1548540, reduce how often performance counters are sent to the parent process, r=tarek
authorOlli Pettay <Olli.Pettay@helsinki.fi>
Wed, 08 May 2019 19:11:59 +0000
changeset 473120 6dd8d9bf3e308e62c4a6f2eacd7b7379d1ad3484
parent 473119 054f6ef6e447b028fd3c5f58de93607f3f37e1c1
child 473121 b54d90e1c6814f37918a8a6a1e6fc5054ea6e868
push id113065
push useropoprus@mozilla.com
push dateThu, 09 May 2019 03:46:59 +0000
treeherdermozilla-inbound@34a824c75b7b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstarek
bugs1548540
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1548540, reduce how often performance counters are sent to the parent process, r=tarek Differential Revision: https://phabricator.services.mozilla.com/D30397
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -5175,17 +5175,17 @@ pref("extensions.webextensions.backgroun
 pref("extensions.webextensions.ExtensionStorageIDB.enabled", true);
 
 // if enabled, store execution times for API calls
 pref("extensions.webextensions.enablePerformanceCounters", true);
 
 // Maximum age in milliseconds of performance counters in children
 // When reached, the counters are sent to the main process and
 // reset, so we reduce memory footprint.
-pref("extensions.webextensions.performanceCountersMaxAge", 1000);
+pref("extensions.webextensions.performanceCountersMaxAge", 5000);
 
 // The HTML about:addons page.
 pref("extensions.htmlaboutaddons.enabled", false);
 
 // Report Site Issue button
 // Note that on enabling the button in other release channels, make sure to
 // disable it in problematic tests, see disableNonReleaseActions() inside
 // browser/modules/test/browser/head.js