Title: [96114] trunk/LayoutTests
Revision
96114
Author
loi...@chromium.org
Date
2011-09-27 08:50:42 -0700 (Tue, 27 Sep 2011)

Log Message

Unreviewed followupfix for r96110.
This is a small adjustment of the heap size delta calculation.

* inspector/performance/resources/performance-test.js:
(initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer.prototype.done):

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (96113 => 96114)


--- trunk/LayoutTests/ChangeLog	2011-09-27 15:36:39 UTC (rev 96113)
+++ trunk/LayoutTests/ChangeLog	2011-09-27 15:50:42 UTC (rev 96114)
@@ -1,5 +1,13 @@
 2011-09-27  Ilya Tikhonovsky  <loi...@chromium.org>
 
+        Unreviewed followupfix for r96110.
+        This is a small adjustment of the heap size delta calculation.
+
+        * inspector/performance/resources/performance-test.js:
+        (initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer.prototype.done):
+
+2011-09-27  Ilya Tikhonovsky  <loi...@chromium.org>
+
         Web Inspector: UI performance: introduce heap size tracking stats.
         https://bugs.webkit.org/show_bug.cgi?id=68901
 

Modified: trunk/LayoutTests/inspector/performance/resources/performance-test.js (96113 => 96114)


--- trunk/LayoutTests/inspector/performance/resources/performance-test.js	2011-09-27 15:36:39 UTC (rev 96113)
+++ trunk/LayoutTests/inspector/performance/resources/performance-test.js	2011-09-27 15:50:42 UTC (rev 96114)
@@ -35,8 +35,9 @@
 
         done: function()
         {
-            this._heapSizeDeltas.push(console.memory.usedJSHeapSize - this._jsHeapSize);
-            this._jsHeapSize = this._getJSHeapSize();
+            var newJSHeapSize = this._getJSHeapSize();
+            this._heapSizeDeltas.push(newJSHeapSize - this._jsHeapSize);
+            this._jsHeapSize = newJSHeapSize;
 
             var time = new Date();
             if (time - this._testStartTime < executeTime)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to