Bug 989263 - Reduce Developer HUD polling frequency for USS. r=21
authorJan Keromnes <janx@linux.com>
Tue, 05 Aug 2014 06:45:00 -0400
changeset 198280 6985f4896a10463d4c9d1df367fc592048e934c2
parent 198279 8b64b7277c543242f3b352b8fbd15d1696960d99
child 198281 3deaa74ba2aba2c47d73de76edf26ddf0a1c4025
push id9522
push userryanvm@gmail.com
push dateThu, 07 Aug 2014 12:43:25 +0000
treeherderb2g-inbound@83bc4242fd1c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewers21
bugs989263
milestone34.0a1
Bug 989263 - Reduce Developer HUD polling frequency for USS. r=21
b2g/chrome/content/devtools.js
--- a/b2g/chrome/content/devtools.js
+++ b/b2g/chrome/content/devtools.js
@@ -549,17 +549,17 @@ let memoryWatcher = {
         // TODO Also count images size (bug #976007).
 
         target.update({name: 'memory', value: total});
       }, err => {
         console.error(err);
       });
     }
 
-    let timer = setTimeout(() => this.measure(target), 300);
+    let timer = setTimeout(() => this.measure(target), 500);
     this._timers.set(target, timer);
   },
 
   trackTarget: function mw_trackTarget(target) {
     target.register('uss');
     target.register('memory');
     this._fronts.set(target, MemoryFront(this._client, target.actor));
     if (this._active) {