Title: [118496] trunk/PerformanceTests
Revision
118496
Author
[email protected]
Date
2012-05-25 02:01:29 -0700 (Fri, 25 May 2012)

Log Message

Web Inspector: HeapProfiler's perf test: each N-th run pushes the run results N-th times.
https://bugs.webkit.org/show_bug.cgi?id=87476

The time tracking wrappers were attaching on each run.

Reviewed by Yury Semikhatsky.

* inspector/heap-snapshot.html:

Modified Paths

Diff

Modified: trunk/PerformanceTests/ChangeLog (118495 => 118496)


--- trunk/PerformanceTests/ChangeLog	2012-05-25 08:51:07 UTC (rev 118495)
+++ trunk/PerformanceTests/ChangeLog	2012-05-25 09:01:29 UTC (rev 118496)
@@ -1,3 +1,14 @@
+2012-05-25  Ilya Tikhonovsky  <[email protected]>
+
+        Web Inspector: HeapProfiler's perf test: each N-th run pushes the run results N-th times.
+        https://bugs.webkit.org/show_bug.cgi?id=87476
+
+        The time tracking wrappers were attaching on each run.
+
+        Reviewed by Yury Semikhatsky.
+
+        * inspector/heap-snapshot.html:
+
 2012-05-22  Ilya Tikhonovsky  <[email protected]>
 
         Web Inspector: HeapProfiler: upstream retainedSize calculation.

Modified: trunk/PerformanceTests/inspector/heap-snapshot.html (118495 => 118496)


--- trunk/PerformanceTests/inspector/heap-snapshot.html	2012-05-25 08:51:07 UTC (rev 118495)
+++ trunk/PerformanceTests/inspector/heap-snapshot.html	2012-05-25 09:01:29 UTC (rev 118496)
@@ -7,6 +7,20 @@
 
 function test()
 {
+    InspectorTest.measureFunction(WebInspector.HeapSnapshot.prototype, "_buildRetainers");
+    InspectorTest.measureFunction(WebInspector.HeapSnapshot.prototype, "_buildDominatedNodes");
+    InspectorTest.measureFunction(WebInspector.HeapSnapshot.prototype, "_calculateFlags");
+    InspectorTest.measureFunction(WebInspector.HeapSnapshot.prototype, "_buildAggregates");
+    InspectorTest.measureFunction(WebInspector.HeapSnapshot.prototype, "_calculateClassesRetainedSize");
+    InspectorTest.measureFunction(WebInspector.HeapSnapshot.prototype, "_calculateObjectToWindowDistance");
+    InspectorTest.measureFunction(WebInspector.HeapSnapshot.prototype, "_calculateRetainedSizes");
+    InspectorTest.measureFunction(WebInspector.HeapSnapshot.prototype, "_markDetachedDOMTreeNodes");
+    InspectorTest.measureFunction(WebInspector.HeapSnapshot.prototype, "_markQueriableHeapObjects");
+    InspectorTest.measureFunction(WebInspector.HeapSnapshot.prototype, "_markPageOwnedNodes");
+    InspectorTest.measureFunction(WebInspector.HeapSnapshot.prototype, "_splitNodesAndContainmentEdges");
+    InspectorTest.measureFunction(WebInspector.HeapSnapshot.prototype, "_buildPostOrderIndex");
+    InspectorTest.measureFunction(WebInspector.HeapSnapshot.prototype, "_buildDominatorTree");
+
     function performanceTest(timer)
     {
         var transferTimerCookie;
@@ -20,20 +34,6 @@
 
         function step0()
         {
-            InspectorTest.measureFunction(WebInspector.HeapSnapshot.prototype, "_buildRetainers");
-            InspectorTest.measureFunction(WebInspector.HeapSnapshot.prototype, "_buildDominatedNodes");
-            InspectorTest.measureFunction(WebInspector.HeapSnapshot.prototype, "_calculateFlags");
-            InspectorTest.measureFunction(WebInspector.HeapSnapshot.prototype, "_buildAggregates");
-            InspectorTest.measureFunction(WebInspector.HeapSnapshot.prototype, "_calculateClassesRetainedSize");
-            InspectorTest.measureFunction(WebInspector.HeapSnapshot.prototype, "_calculateObjectToWindowDistance");
-            InspectorTest.measureFunction(WebInspector.HeapSnapshot.prototype, "_calculateRetainedSizes");
-            InspectorTest.measureFunction(WebInspector.HeapSnapshot.prototype, "_markDetachedDOMTreeNodes");
-            InspectorTest.measureFunction(WebInspector.HeapSnapshot.prototype, "_markQueriableHeapObjects");
-            InspectorTest.measureFunction(WebInspector.HeapSnapshot.prototype, "_markPageOwnedNodes");
-            InspectorTest.measureFunction(WebInspector.HeapSnapshot.prototype, "_splitNodesAndContainmentEdges");
-            InspectorTest.measureFunction(WebInspector.HeapSnapshot.prototype, "_buildPostOrderIndex");
-            InspectorTest.measureFunction(WebInspector.HeapSnapshot.prototype, "_buildDominatorTree");
-
             timer.finish(backendTimerCookie);
             transferTimerCookie = timer.start("transfer-snapshot");
             var profiles = WebInspector.panels.profiles.getProfiles("HEAP");
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to