Enable SVG page loading performance tests
[WebKit-https.git] / Tools / ChangeLog
index c5d42c1a563af35662c54088e2a2d801692ebeaf..d8033270a02cc62b640414088fa0cb60690bb647 100644 (file)
@@ -1,3 +1,49 @@
+2012-04-12  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Enable SVG page loading performance tests
+        https://bugs.webkit.org/show_bug.cgi?id=83861
+
+        Reviewed by Adam Barth.
+
+        Add support for page loading tests. These are tests without any test running harnesses, and we use
+        DriverOutput's test_timeout to measure the loading time.
+
+        Extracted PerfTest.run and PerfTest.run_failed from PerfTestRunner._run_single_test.
+
+        * Scripts/webkitpy/performance_tests/perftest.py:
+        (PerfTest.run):
+        (PerfTest):
+        (PerfTest.run_failed):
+        (PerfTest.parse_output):
+        (PerfTest.output_statistics):
+        (ChromiumStylePerfTest.parse_output):
+        (PageLoadingPerfTest): Added.
+        (PageLoadingPerfTest.__init__):
+        (PageLoadingPerfTest.run): Run the driver 20 times to get the statistics for the loading time.
+        * Scripts/webkitpy/performance_tests/perftest_unittest.py: Added.
+        (MockPrinter):
+        (MockPrinter.__init__):
+        (MockPrinter.write):
+        (MainTest):
+        (MainTest.test_parse_output):
+        (MainTest.test_parse_output_with_failing_line):
+        (TestPageLoadingPerfTest):
+        (TestPageLoadingPerfTest.assertWritten):
+        (TestPageLoadingPerfTest.MockDriver):
+        (TestPageLoadingPerfTest.MockDriver.__init__):
+        (TestPageLoadingPerfTest.MockDriver.run_test):
+        (TestPageLoadingPerfTest.test_run):
+        (TestPageLoadingPerfTest.test_run_with_bad_output):
+        * Scripts/webkitpy/performance_tests/perftestsrunner.py:
+        (PerfTestsRunner):
+        (PerfTestsRunner._collect_tests._is_test_file): Now recognizes svg tests.
+        (PerfTestsRunner._collect_tests):
+        (PerfTestsRunner._run_tests_set):
+        (PerfTestsRunner._run_single_test):
+        * Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
+        (test_collect_tests_with_page_load_svg):
+        (test_collect_tests_with_page_load_svg.add_file):
+
 2012-04-10  Brady Eidson  <beidson@apple.com>
 
         <rdar://problem/11176921> and https://bugs.webkit.org/show_bug.cgi?id=83600