Title: [96920] trunk/LayoutTests
- Revision
- 96920
- Author
- [email protected]
- Date
- 2011-10-07 02:33:26 -0700 (Fri, 07 Oct 2011)
Log Message
Web Inspector: UI performance test for logging 100 messages to the console.
https://bugs.webkit.org/show_bug.cgi?id=69608
Reviewed by Pavel Feldman.
* inspector/performance/resources/console-append-100-lines.html: Added.
Modified Paths
Added Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (96919 => 96920)
--- trunk/LayoutTests/ChangeLog 2011-10-07 09:27:08 UTC (rev 96919)
+++ trunk/LayoutTests/ChangeLog 2011-10-07 09:33:26 UTC (rev 96920)
@@ -1,3 +1,12 @@
+2011-10-07 Ilya Tikhonovsky <[email protected]>
+
+ Web Inspector: UI performance test for logging 100 messages to the console.
+ https://bugs.webkit.org/show_bug.cgi?id=69608
+
+ Reviewed by Pavel Feldman.
+
+ * inspector/performance/resources/console-append-100-lines.html: Added.
+
2011-10-05 Kent Tamura <[email protected]>
Move <input type=file> tests to fast/forms/file/
Added: trunk/LayoutTests/inspector/performance/resources/console-append-100-lines.html (0 => 96920)
--- trunk/LayoutTests/inspector/performance/resources/console-append-100-lines.html (rev 0)
+++ trunk/LayoutTests/inspector/performance/resources/console-append-100-lines.html 2011-10-07 09:33:26 UTC (rev 96920)
@@ -0,0 +1,46 @@
+<html>
+<head>
+<script src=""
+<script src=""
+<script>
+
+function makeConsoleEvents(count)
+{
+ for (var i = 0; i < count; ++i)
+ console.log("Console log: " + i);
+}
+
+function test()
+{
+ WebInspector.showPanel("console");
+
+ function test(timer)
+ {
+ WebInspector.console.clearMessages();
+ InspectorTest.addSniffer(WebInspector.consoleView.promptElement, "scrollIntoView", finish);
+ cookie = timer.start("console-append-100-lines");
+
+ InspectorTest.evaluateInPage("makeConsoleEvents(100)");
+
+ function finish()
+ {
+ timer.finish(cookie);
+ timer.done();
+ }
+ }
+
+ InspectorTest.runPerformanceTest(test, 10000);
+}
+
+if (!window.layoutTestController) {
+ setTimeout(function() {
+ makeConsoleEvents(100);
+ }, 3000);
+}
+
+</script>
+</head>
+
+<body _onload_="runTest()">
+</body>
+</html>
Property changes on: trunk/LayoutTests/inspector/performance/resources/console-append-100-lines.html
___________________________________________________________________
Added: svn:eol-style
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes