Title: [182744] trunk/PerformanceTests
Revision
182744
Author
[email protected]
Date
2015-04-13 11:04:55 -0700 (Mon, 13 Apr 2015)

Log Message

Clear up the test content when test is done.

Unreviewed fix.

* Layout/simple-line-layout-innertext.html:

Modified Paths

Diff

Modified: trunk/PerformanceTests/ChangeLog (182743 => 182744)


--- trunk/PerformanceTests/ChangeLog	2015-04-13 17:55:07 UTC (rev 182743)
+++ trunk/PerformanceTests/ChangeLog	2015-04-13 18:04:55 UTC (rev 182744)
@@ -1,3 +1,11 @@
+2015-04-13  Zalan Bujtas  <[email protected]>
+
+        Clear up the test content when test is done.
+
+        Unreviewed fix.
+
+        * Layout/simple-line-layout-innertext.html:
+
 2015-04-09  Zalan Bujtas  <[email protected]>
 
         Simple line layout(regression): Calling innerText on RenderFlow with multiple children is slow.

Modified: trunk/PerformanceTests/Layout/simple-line-layout-innertext.html (182743 => 182744)


--- trunk/PerformanceTests/Layout/simple-line-layout-innertext.html	2015-04-13 17:55:07 UTC (rev 182743)
+++ trunk/PerformanceTests/Layout/simple-line-layout-innertext.html	2015-04-13 18:04:55 UTC (rev 182744)
@@ -19,7 +19,12 @@
                 result.innerText += target.innerText;
             result.innerText = "";
         }
-        PerfTestRunner.measureRunsPerSecond({ run: test });
+        
+        function done() {
+        	target.innerHTML = "";
+        }
+        
+        PerfTestRunner.measureRunsPerSecond({ run: test, done: done });
     </script>
 </body>
 </html>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to