Changeset 106348 in webkit


Ignore:
Timestamp:
Jan 31, 2012 2:13:51 AM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[PerformanceTests] Add landing html for Dromaeo dom-query test
https://bugs.webkit.org/show_bug.cgi?id=77329

Patch by Hajime Morrita <morrita@chromium.org> on 2012-01-31
Reviewed by Ryosuke Niwa.

PerformanceTests:

Added a "landing html" which includes actual dromaemo page and
send messages to interact with it. The landing html also dumps the
score in run-perf-tests friendly format.

This test isn't enabled until Dromaemo itself is available for run-perf-tests.
It will happen in a separate change.

  • Dromaeo/dom-query.html: Added.
  • Dromaeo/resources/dromaeorunner.js: Added.
  • Skipped: Skipping this for now.

Tools:

Added some more ignorable output patterns to allow warnings
from a third party test suite.

  • Scripts/webkitpy/performance_tests/perftestsrunner.py:

(PerfTestsRunner):
(PerfTestsRunner._should_ignore_line_in_parser_test_result):

Location:
trunk
Files:
4 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/PerformanceTests/ChangeLog

    r106312 r106348  
     12012-01-31  Hajime Morrita  <morrita@chromium.org>
     2
     3        [PerformanceTests] Add landing html for Dromaeo dom-query test
     4        https://bugs.webkit.org/show_bug.cgi?id=77329
     5
     6        Reviewed by Ryosuke Niwa.
     7
     8        Added a "landing html" which includes actual dromaemo page and
     9        send messages to interact with it. The landing html also dumps the
     10        score in run-perf-tests friendly format.
     11
     12        This test isn't enabled until Dromaemo itself is available for run-perf-tests.
     13        It will happen in a separate change.
     14
     15        * Dromaeo/dom-query.html: Added.
     16        * Dromaeo/resources/dromaeorunner.js: Added.
     17        * Skipped: Skipping this for now.
     18
    1192012-01-30  Ryosuke Niwa  <rniwa@webkit.org>
    220
  • trunk/PerformanceTests/Skipped

    r106312 r106348  
    77SunSpider
    88XSSAuditor
     9# Blocked by http://webkit.org/b/77328
     10Dromaeo
    911
    1012# Bug 77024 - Web Inspector: tests in PerformanceTests/inspector/ are timing out
    1113inspector
     14
  • trunk/PerformanceTests/resources/runner.js

    r106211 r106348  
    6464}
    6565
     66function printStatistics(stats, printFunction)
     67{
     68    printFunction("");
     69    printFunction("avg " + stats.avg);
     70    printFunction("median " + stats.median);
     71    printFunction("stdev " + stats.stdev);
     72    printFunction("min " + stats.min);
     73    printFunction("max " + stats.max);
     74}
     75
    6676function logStatistics(times) {
    67     log("");
    68     log("avg " + computeAverage(times));
    69     log("median " + computeMedian(times));
    70     log("stdev " + computeStdev(times));
    71     log("min " + computeMin(times));
    72     log("max " + computeMax(times));
     77    printStatistics({
     78        avg: computeAverage(times),
     79        median: computeMedian(times),
     80        stdev: computeStdev(times),
     81        min: computeMin(times),
     82        max: computeMax(times)
     83    }, log);
    7384}
    7485
  • trunk/Tools/ChangeLog

    r106333 r106348  
     12012-01-31  Hajime Morrita  <morrita@chromium.org>
     2
     3        [PerformanceTests] Add landing html for Dromaeo dom-query test
     4        https://bugs.webkit.org/show_bug.cgi?id=77329
     5
     6        Reviewed by Ryosuke Niwa.
     7
     8        Added some more ignorable output patterns to allow warnings
     9        from a third party test suite.
     10
     11        * Scripts/webkitpy/performance_tests/perftestsrunner.py:
     12        (PerfTestsRunner):
     13        (PerfTestsRunner._should_ignore_line_in_parser_test_result):
     14
    1152012-01-30  Kevin Ollivier  <kevino@theolliviers.com>
    216
  • trunk/Tools/Scripts/webkitpy/performance_tests/perftestsrunner.py

    r106062 r106348  
    251251        re.compile(r'^Ignoring warm-up '),
    252252        re.compile(r'^\d+(.\d+)?$'),
    253     ]
     253        # Following are for handle existing test like Dromaeo
     254        re.compile(re.escape("""main frame - has 1 onunload handler(s)""")),
     255        re.compile(re.escape("""frame "<!--framePath //<!--frame0-->-->" - has 1 onunload handler(s)"""))]
    254256
    255257    def _should_ignore_line_in_parser_test_result(self, line):
     
    257259            return True
    258260        for regex in self._lines_to_ignore_in_parser_result:
    259             if regex.match(line):
     261            if regex.search(line):
    260262                return True
    261263        return False
Note: See TracChangeset for help on using the changeset viewer.