1. 13 Apr, 2012 2 commits
    • rniwa@webkit.org's avatar
      Fix skipped list. · 7dfcb2f1
      rniwa@webkit.org authored
      * Skipped:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114173 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7dfcb2f1
    • rniwa@webkit.org's avatar
      Enable SVG page loading performance tests · a51c0b73
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=83861
      
      Reviewed by Adam Barth.
      
      PerformanceTests: 
      
      Unskip PageLoad directory and skip tests that load too fast (less than 100ms) and are unstable,
      and the ones that take too long to load (more than 20s).
      
      * Skipped:
      
      Tools: 
      
      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):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114149 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a51c0b73
  2. 04 Apr, 2012 2 commits
  3. 30 Mar, 2012 1 commit
    • commit-queue@webkit.org's avatar
      Split up top-level .gitignore and .gitattributes · 66f25595
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=82687
      
      Patch by David Barr <davidbarr@chromium.org> on 2012-03-30
      Reviewed by Tor Arne Vestbø.
      
      .:
      
      Jeff King <peff@peff.net> suggested this on the git mailing list.
      http://article.gmane.org/gmane.comp.version-control.git/194294
      He reported a 1.6 times speed up for 'git status'.
      
      * .gitattributes:
      * .gitignore:
      * ManualTests/.gitattributes: Added.
      * Source/.gitignore: Added.
      * Websites/.gitattributes: Added.
      
      PerformanceTests:
      
      * .gitattributes: Added.
      
      Source/JavaScriptCore:
      
      * JavaScriptCore.gyp/.gitignore: Added.
      
      Source/Platform:
      
      * Platform.gyp/.gitignore: Added.
      
      Source/ThirdParty:
      
      * glu/.gitignore: Added.
      
      Source/WebCore:
      
      No new tests, source control administrivia.
      
      * .gitattributes: Added.
      * WebCore.gyp/.gitignore: Added.
      
      Source/WebKit/chromium:
      
      * .gitignore: Added.
      
      Source/WTF:
      
      * WTF.gyp/.gitignore: Added.
      
      Tools:
      
      * .gitattributes: Added.
      * .gitignore: Added.
      * DumpRenderTree/DumpRenderTree.gyp/.gitignore: Added.
      * TestWebKitAPI/TestWebKitAPI.gyp/.gitignore: Added.
      
      LayoutTests:
      
      * .gitattributes: Added.
      * .gitignore: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112683 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      66f25595
  4. 29 Mar, 2012 1 commit
    • yurys@chromium.org's avatar
      Web Inspector: switch heap profiler front-end to separate storage of nodes and edges · 41858969
      yurys@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=82453
      
      PerformanceTests:
      
      Updated heap profiler performance test after heap profiler front-end
      changes.
      
      Reviewed by Pavel Feldman.
      
      * inspector/detailed-heapshots-smoke-test.html:
      
      Source/WebCore:
      
      When heap snapshot is completely loaded move nodes and containment edges
      into two separate arrays. This way we don't need _nodeIndex and _nodePosition
      maps to go from node offset inside the raw snapshot to its index and back, instead
      we may just divide node offset by the number of node fields to get node index. After
      the nodes and containment edges are separated original array (_nodes) is dropped.
      All front-end code was switched to the new representation.
      
      Reviewed by Pavel Feldman.
      
      * inspector/front-end/HeapSnapshot.js:
      (WebInspector.HeapSnapshotRetainerEdge):
      (WebInspector.HeapSnapshotRetainerEdge.prototype.clone):
      (WebInspector.HeapSnapshotRetainerEdge.prototype.set edgeIndex):
      (WebInspector.HeapSnapshotRetainerEdge.prototype.get _edge):
      (WebInspector.HeapSnapshotRetainerEdgeIterator.prototype.hasNext):
      (WebInspector.HeapSnapshotNode.prototype.get edgesCount):
      (WebInspector.HeapSnapshotNode.prototype.get rawEdges):
      (WebInspector.HeapSnapshotNode.prototype.get retainers):
      (WebInspector.HeapSnapshotNode.prototype.get _nodes):
      (WebInspector.HeapSnapshotNode.prototype._firstEdgeIndex):
      (WebInspector.HeapSnapshotNode.prototype._afterLastEdgeIndex):
      (WebInspector.HeapSnapshotNode.prototype.get _nextNodeIndex):
      (WebInspector.HeapSnapshot.prototype._init):
      (WebInspector.HeapSnapshot.prototype._splitNodesAndContainmentEdges):
      (WebInspector.HeapSnapshot.prototype._createOnlyNodesArray):
      (WebInspector.HeapSnapshot.prototype._createContainmentEdgesArray):
      (WebInspector.HeapSnapshot.prototype._buildRetainers):
      (WebInspector.HeapSnapshot.prototype.dispose):
      (WebInspector.HeapSnapshot.prototype.get maxNodeId):
      (WebInspector.HeapSnapshot.prototype._calculateObjectToWindowDistance):
      (WebInspector.HeapSnapshot.prototype._bfs):
      (WebInspector.HeapSnapshot.prototype._buildDominatedNodes):
      (WebInspector.HeapSnapshot.prototype._getDominatedIndex):
      (WebInspector.HeapSnapshot.prototype._markInvisibleEdges):
      (WebInspector.HeapSnapshot.prototype._markQueriableHeapObjects):
      
      LayoutTests:
      
      Updated heap profiler test after switching heap profiler front-end
      to the new representation of nodes and edges.
      
      Reviewed by Pavel Feldman.
      
      * inspector/profiler/heap-snapshot-expected.txt:
      * inspector/profiler/heap-snapshot-test.js:
      (initialize_HeapSnapshotTest.InspectorTest.createHeapSnapshotMockObject):
      * inspector/profiler/heap-snapshot.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112523 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      41858969
  5. 27 Mar, 2012 1 commit
  6. 15 Mar, 2012 3 commits
  7. 14 Mar, 2012 2 commits
  8. 13 Mar, 2012 1 commit
  9. 12 Mar, 2012 1 commit
  10. 06 Mar, 2012 2 commits
  11. 05 Mar, 2012 1 commit
  12. 02 Mar, 2012 1 commit
  13. 26 Feb, 2012 1 commit
  14. 24 Feb, 2012 3 commits
    • rniwa@webkit.org's avatar
      Rename dom*_*attributes.html to dom*-*attributes.html to follow the WebKit convention. · 7281a127
      rniwa@webkit.org authored
      * Bindings/dom-attributes.html: Copied from PerformanceTests/Bindings/dom_attributes.html.
      * Bindings/dom_attributes.html: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108846 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7281a127
    • haraken@chromium.org's avatar
      Unreviewed, rolling out r108477. · 357cc95f
      haraken@chromium.org authored
      http://trac.webkit.org/changeset/108477
      https://bugs.webkit.org/show_bug.cgi?id=79209
      
      The perf tests committed in r108748 covers the perf tests
      committed in r108477. So I'll roll out r108477.
      
      * Bindings/dom_attributes_id_getter.html: Removed.
      * Bindings/dom_attributes_id_setter.html: Removed.
      * Bindings/resources/dom_attributes_common.js: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108782 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      357cc95f
    • haraken@chromium.org's avatar
      Add performance tests for DOM attribute getters and setters · 0b2c275c
      haraken@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=79208
      
      Reviewed by Ryosuke Niwa.
      
      PerformanceTests:
      
      This patch adds performance micro-benchmarks for DOM attribute
      getters and setters. We selected DOM attributes from HTMLElement,
      Element and Node which will most impact on the DOM performance
      in the real Web and which have different call-paths from another
      DOM attribute.
      
      The perf test result in my local Chromium/Linux environment is as follows:
      median= 14967.0 ms, stdev= 85.2385476178 ms, min= 14861.0 ms, max= 15155.0 ms
      
      If we run the test with DumpRenderTree, we can get the following test results:
      Info: [HTMLElement.id] avg=65.76ms, median=65.00ms, stdev=2.14ms, min=63, max=70
      Info: [HTMLElement.title] avg=64.05ms, median=63.00ms, stdev=1.50ms, min=63, max=67
      Info: [HTMLElement.lang] avg=64.19ms, median=63.00ms, stdev=1.82ms, min=62, max=67
      Info: [HTMLElement.dir] avg=64.10ms, median=63.00ms, stdev=1.72ms, min=62, max=68
      Info: [HTMLElement.className] avg=63.33ms, median=63.00ms, stdev=0.89ms, min=63, max=67
      Info: [HTMLElement.classList] avg=1946.00ms, median=1945.00ms, stdev=38.22ms, min=1921, max=2110
      Info: [HTMLElement.tabIndex] avg=83.52ms, median=80.00ms, stdev=6.00ms, min=79, max=94
      Info: [HTMLElement.draggable] avg=78.14ms, median=81.00ms, stdev=3.51ms, min=74, max=82
      Info: [HTMLElement.webkitdropzone] avg=64.33ms, median=63.00ms, stdev=1.98ms, min=63, max=68
      Info: [HTMLElement.hidden] avg=65.57ms, median=64.00ms, stdev=3.27ms, min=63, max=71
      Info: [HTMLElement.accessKey] avg=64.43ms, median=63.00ms, stdev=2.11ms, min=62, max=68
      Info: [HTMLElement.children] avg=130.76ms, median=128.00ms, stdev=9.75ms, min=109, max=143
      Info: [HTMLElement.isContentEditable] avg=74.29ms, median=75.00ms, stdev=2.00ms, min=71, max=77
      Info: [HTMLElement.spellcheck] avg=79.52ms, median=80.00ms, stdev=2.52ms, min=76, max=82
      Info: [HTMLElement.innerHTML] avg=279.05ms, median=279.00ms, stdev=1.96ms, min=276, max=283
      Info: [HTMLElement.innerText] avg=204.14ms, median=203.00ms, stdev=2.95ms, min=200, max=210
      Info: [HTMLElement.outerHTML] avg=1544.10ms, median=1546.00ms, stdev=15.56ms, min=1514, max=1568
      Info: [HTMLElement.outerText] avg=216.05ms, median=207.00ms, stdev=18.19ms, min=201, max=247
      Info: [HTMLElement.contentEditable] avg=334.24ms, median=323.00ms, stdev=36.06ms, min=318, max=446
      Info: [HTMLElement.id="foo"] avg=53.19ms, median=53.00ms, stdev=1.76ms, min=52, max=58
      Info: [HTMLElement.title="foo"] avg=63.14ms, median=63.00ms, stdev=0.35ms, min=63, max=64
      Info: [HTMLElement.lang="foo"] avg=60.86ms, median=61.00ms, stdev=0.56ms, min=60, max=62
      Info: [HTMLElement.dir="foo"] avg=53.57ms, median=54.00ms, stdev=0.58ms, min=53, max=55
      Info: [HTMLElement.className="foo"] avg=64.52ms, median=64.00ms, stdev=0.91ms, min=63, max=66
      Info: [HTMLElement.tabIndex="foo"] avg=367.86ms, median=369.00ms, stdev=8.06ms, min=352, max=380
      Info: [HTMLElement.draggable="foo"] avg=79.43ms, median=79.00ms, stdev=0.58ms, min=79, max=81
      Info: [HTMLElement.webkitdropzone="foo"] avg=62.14ms, median=62.00ms, stdev=0.35ms, min=62, max=63
      Info: [HTMLElement.hidden="foo"] avg=61.67ms, median=62.00ms, stdev=0.71ms, min=61, max=64
      Info: [HTMLElement.accessKey="foo"] avg=61.86ms, median=62.00ms, stdev=0.56ms, min=61, max=63
      Info: [HTMLElement.spellcheck="foo"] avg=79.57ms, median=80.00ms, stdev=0.58ms, min=78, max=80
      Info: [HTMLElement.innerHTML="foo"] avg=1176.67ms, median=1169.00ms, stdev=26.60ms, min=1146, max=1246
      Info: [HTMLElement.innerText="foo"] avg=51.62ms, median=52.00ms, stdev=0.72ms, min=50, max=53
      Info: [Element.tagName] avg=79.52ms, median=80.00ms, stdev=1.05ms, min=78, max=81
      Info: [Element.style] avg=126.19ms, median=126.00ms, stdev=10.40ms, min=104, max=161
      Info: [Element.offsetLeft] avg=98.95ms, median=104.00ms, stdev=4.01ms, min=100, max=99
      Info: [Element.clientLeft] avg=98.33ms, median=102.00ms, stdev=2.59ms, min=100, max=99
      Info: [Element.scrollLeft] avg=103.29ms, median=96.00ms, stdev=15.63ms, min=100, max=97
      Info: [Element.dataset] avg=2448.62ms, median=2441.00ms, stdev=20.43ms, min=2426, max=2503
      Info: [Element.firstElementChild] avg=58.71ms, median=58.00ms, stdev=2.37ms, min=57, max=65
      Info: [Element.lastElementChild] avg=56.33ms, median=55.00ms, stdev=1.83ms, min=54, max=59
      Info: [Element.previousElementSibling] avg=52.95ms, median=52.00ms, stdev=1.70ms, min=52, max=57
      Info: [Element.nextElementSibling] avg=58.48ms, median=58.00ms, stdev=1.79ms, min=57, max=63
      Info: [Element.childElementCount] avg=64.57ms, median=64.00ms, stdev=1.81ms, min=63, max=71
      Info: [Element.onload] avg=98.38ms, median=98.00ms, stdev=0.49ms, min=98, max=99
      Info: [Element.scrollLeft="foo"] avg=95.24ms, median=95.00ms, stdev=0.92ms, min=94, max=98
      Info: [Element.onload="foo"] avg=67.14ms, median=67.00ms, stdev=0.56ms, min=66, max=68
      Info: [Node.nodeName] avg=76.29ms, median=76.00ms, stdev=0.63ms, min=75, max=77
      Info: [Node.nodeType] avg=53.05ms, median=52.00ms, stdev=2.61ms, min=52, max=61
      Info: [Node.parentNode] avg=53.52ms, median=53.00ms, stdev=1.22ms, min=52, max=56
      Info: [Node.childNodes] avg=118.33ms, median=123.00ms, stdev=8.85ms, min=107, max=129
      Info: [Node.firstChild] avg=53.62ms, median=53.00ms, stdev=1.13ms, min=51, max=55
      Info: [Node.lastChild] avg=53.14ms, median=53.00ms, stdev=1.21ms, min=52, max=55
      Info: [Node.previousSibling] avg=51.86ms, median=51.00ms, stdev=1.55ms, min=50, max=54
      Info: [Node.nextSibling] avg=52.86ms, median=54.00ms, stdev=1.81ms, min=50, max=55
      Info: [Node.attributes] avg=2027.71ms, median=2026.00ms, stdev=10.48ms, min=2010, max=2051
      Info: [Node.ownerDocument] avg=152.14ms, median=152.00ms, stdev=1.73ms, min=149, max=155
      Info: [Node.namespaceURI] avg=60.86ms, median=59.00ms, stdev=3.85ms, min=56, max=66
      Info: [Node.localName] avg=60.00ms, median=59.00ms, stdev=2.71ms, min=57, max=66
      Info: [Node.baseURI] avg=671.10ms, median=668.00ms, stdev=10.66ms, min=659, max=706
      Info: [Node.parentElement] avg=55.05ms, median=56.00ms, stdev=2.15ms, min=52, max=58
      Info: [Node.nodeValue] avg=61.24ms, median=60.00ms, stdev=2.56ms, min=59, max=68
      Info: [Node.prefix] avg=60.90ms, median=58.00ms, stdev=4.26ms, min=57, max=68
      Info: [Node.textContent] avg=149.71ms, median=149.00ms, stdev=1.12ms, min=148, max=152
      Info: [Node.nodeValue="foo"] avg=23.62ms, median=23.00ms, stdev=0.72ms, min=23, max=25
      Info: [Node.prefix="foo"] avg=49.57ms, median=49.00ms, stdev=0.73ms, min=49, max=51
      Info: [Node.textContent="foo"] avg=145.81ms, median=140.00ms, stdev=17.43ms, min=138, max=199
      
      * Bindings/dom_attributes.html: Added.
      * resources/runner.js:
      (PerfTestRunner.info):
      
      Tools:
      
      We want to allow perf tests to output info messages
      that do not affect the test results. To accomplish this,
      this patch modifies perftestsrunner.py so that it ignores
      a line that starts from "Info:".
      
      * Scripts/webkitpy/performance_tests/perftestsrunner.py:
      (PerfTestsRunner):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108748 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0b2c275c
  15. 22 Feb, 2012 1 commit
    • haraken@chromium.org's avatar
      Add performance tests for the Element.id getter and setter · 3902e73c
      haraken@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=79209
      
      Reviewed by Adam Barth.
      
      This patch adds performance tests for the Element.id getter and setter.
      
      The results of 10 runs in my local Chromium/Linux are as follows:
      
      dom_attributes_id_getter.html:
      median= 92.0 ms, stdev= 1.65151445649 ms, min= 89.0 ms, max= 96.0 ms
      median= 87.5 ms, stdev= 1.84390889146 ms, min= 85.0 ms, max= 92.0 ms
      median= 94.0 ms, stdev= 1.46543508898 ms, min= 90.0 ms, max= 95.0 ms
      median= 86.0 ms, stdev= 1.66958078571 ms, min= 84.0 ms, max= 91.0 ms
      median= 94.0 ms, stdev= 2.25610283454 ms, min= 103.0 ms, max= 98.0 ms
      median= 86.0 ms, stdev= 1.49666295471 ms, min= 84.0 ms, max= 91.0 ms
      median= 86.0 ms, stdev= 1.5321553446 ms, min= 84.0 ms, max= 90.0 ms
      median= 86.0 ms, stdev= 2.20227155455 ms, min= 84.0 ms, max= 94.0 ms
      median= 96.0 ms, stdev= 1.74570902501 ms, min= 101.0 ms, max= 99.0 ms
      median= 86.0 ms, stdev= 1.63935963108 ms, min= 84.0 ms, max= 90.0 ms
      median= 94.0 ms, stdev= 1.49248115566 ms, min= 90.0 ms, max= 95.0 ms
      median= 88.0 ms, stdev= 5.20192272146 ms, min= 84.0 ms, max= 98.0 ms
      median= 86.0 ms, stdev= 1.41067359797 ms, min= 84.0 ms, max= 89.0 ms
      median= 86.0 ms, stdev= 1.48660687473 ms, min= 84.0 ms, max= 89.0 ms
      median= 94.0 ms, stdev= 1.58113883008 ms, min= 93.0 ms, max= 97.0 ms
      median= 86.0 ms, stdev= 1.95959179423 ms, min= 84.0 ms, max= 93.0 ms
      median= 86.0 ms, stdev= 1.8547236991 ms, min= 84.0 ms, max= 92.0 ms
      median= 86.0 ms, stdev= 1.39283882772 ms, min= 84.0 ms, max= 89.0 ms
      median= 88.0 ms, stdev= 1.48660687473 ms, min= 85.0 ms, max= 90.0 ms
      median= 86.5 ms, stdev= 2.3 ms, min= 84.0 ms, max= 93.0 ms
      
      dom_attributes_id_setter.html:
      median= 123.0 ms, stdev= 2.06397674406 ms, min= 119.0 ms, max= 128.0 ms
      median= 119.0 ms, stdev= 1.92028643697 ms, min= 117.0 ms, max= 123.0 ms
      median= 121.0 ms, stdev= 1.8781639971 ms, min= 118.0 ms, max= 123.0 ms
      median= 123.0 ms, stdev= 2.21585198062 ms, min= 119.0 ms, max= 130.0 ms
      median= 124.5 ms, stdev= 2.36378933071 ms, min= 119.0 ms, max= 129.0 ms
      median= 122.0 ms, stdev= 2.4474476501 ms, min= 118.0 ms, max= 128.0 ms
      median= 123.0 ms, stdev= 1.76351920885 ms, min= 118.0 ms, max= 125.0 ms
      median= 119.0 ms, stdev= 1.79652442232 ms, min= 117.0 ms, max= 125.0 ms
      median= 121.0 ms, stdev= 1.49916643506 ms, min= 119.0 ms, max= 123.0 ms
      median= 119.5 ms, stdev= 1.85135085816 ms, min= 117.0 ms, max= 125.0 ms
      median= 124.0 ms, stdev= 1.43090880213 ms, min= 120.0 ms, max= 124.0 ms
      median= 122.0 ms, stdev= 1.45859521458 ms, min= 118.0 ms, max= 123.0 ms
      median= 123.0 ms, stdev= 1.50332963784 ms, min= 120.0 ms, max= 124.0 ms
      median= 123.0 ms, stdev= 1.3638181697 ms, min= 120.0 ms, max= 125.0 ms
      median= 119.0 ms, stdev= 1.43527000944 ms, min= 117.0 ms, max= 121.0 ms
      median= 122.5 ms, stdev= 1.71682847134 ms, min= 118.0 ms, max= 124.0 ms
      median= 121.0 ms, stdev= 1.44481832768 ms, min= 118.0 ms, max= 123.0 ms
      median= 120.0 ms, stdev= 1.40978721799 ms, min= 117.0 ms, max= 122.0 ms
      median= 122.0 ms, stdev= 1.68522995464 ms, min= 119.0 ms, max= 125.0 ms
      median= 122.0 ms, stdev= 1.55804364509 ms, min= 118.0 ms, max= 123.0 ms
      
      * Bindings/dom_attributes_id_getter.html: Added.
      * Bindings/dom_attributes_id_setter.html: Added.
      * Bindings/resources/dom_attributes_common.js: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108477 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3902e73c
  16. 21 Feb, 2012 1 commit
  17. 16 Feb, 2012 1 commit
  18. 09 Feb, 2012 1 commit
  19. 06 Feb, 2012 1 commit
    • morrita@google.com's avatar
      [PerformanceTests] Each Dromaeo test needs its landing html. · aa55f3f1
      morrita@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=77504
      
      Reviewed by Ryosuke Niwa.
      
      PerformanceTests:
      
      - Added landing pages for each test which are listed in MANIFEST.json
      - Removed some tests which depends on the library whose license is incompatible to WebKit.
      - Added local copy of corresponding library. And replace the references to the remote sources
        to the local copies.
      - Removed old library files under Dromaeo/resources/dromaeo/web/lib/.
      - Skipped Sunsupier and v8 test. Such JS centric test should have its own test instead of
        running as a part of Dromaeo.
      
      * Dromaeo/cssquery-dojo.html: Added.
      * Dromaeo/cssquery-jquery.html: Added.
      * Dromaeo/cssquery-prototype.html: Added.
      * Dromaeo/dom-attr.html: Added.
      * Dromaeo/dom-modify.html: Added.
      * Dromaeo/dom-traverse.html: Added.
      * Dromaeo/dromaeo-3d-cube.html: Added.
      * Dromaeo/dromaeo-core-eval.html: Added.
      * Dromaeo/dromaeo-object-array.html: Added.
      * Dromaeo/dromaeo-object-regexp.html: Added.
      * Dromaeo/dromaeo-object-string.html: Added.
      * Dromaeo/dromaeo-string-base64.html: Added.
      * Dromaeo/jslib-attr-jquery.html: Added.
      * Dromaeo/jslib-attr-prototype.html: Added.
      * Dromaeo/jslib-event-jquery.html: Added.
      * Dromaeo/jslib-event-prototype.html: Added.
      * Dromaeo/jslib-modify-jquery.html: Added.
      * Dromaeo/jslib-modify-prototype.html: Added.
      * Dromaeo/jslib-style-jquery.html: Added.
      * Dromaeo/jslib-style-prototype.html: Added.
      * Dromaeo/jslib-traverse-jquery.html: Added.
      * Dromaeo/jslib-traverse-prototype.html: Added.
      * Dromaeo/resources/dromaeo/web/lib/dojo.js: Removed.
      * Dromaeo/resources/dromaeo/web/lib/dojo-1.6.1.js: Added.
      * Dromaeo/resources/dromaeo/web/lib/jquery.js: Removed.
      * Dromaeo/resources/dromaeo/web/lib/jquery-1.6.4.js: Added.
      * Dromaeo/resources/dromaeo/web/lib/mootools.js: Removed.
      * Dromaeo/resources/dromaeo/web/lib/prototype.js: Removed.
      * Dromaeo/resources/dromaeo/web/lib/prototype-1.7.js: Added.
      * Dromaeo/resources/dromaeo/web/tests/cssquery-dojo.html:
      * Dromaeo/resources/dromaeo/web/tests/cssquery-jquery.html:
      * Dromaeo/resources/dromaeo/web/tests/cssquery-mootools.html: Removed.
      * Dromaeo/resources/dromaeo/web/tests/cssquery-prototype.html:
      * Dromaeo/resources/dromaeo/web/tests/jslib-attr-jquery.html:
      * Dromaeo/resources/dromaeo/web/tests/jslib-attr-prototype.html:
      * Dromaeo/resources/dromaeo/web/tests/jslib-event-jquery.html:
      * Dromaeo/resources/dromaeo/web/tests/jslib-event-prototype.html:
      * Dromaeo/resources/dromaeo/web/tests/jslib-modify-jquery.html:
      * Dromaeo/resources/dromaeo/web/tests/jslib-modify-prototype.html:
      * Dromaeo/resources/dromaeo/web/tests/jslib-style-jquery.html:
      * Dromaeo/resources/dromaeo/web/tests/jslib-style-prototype.html:
      * Dromaeo/resources/dromaeo/web/tests/jslib-traverse-jquery.html:
      * Dromaeo/resources/dromaeo/web/tests/jslib-traverse-prototype.html:
      * Dromaeo/sunspider-3d-morph.html: Added.
      * Dromaeo/sunspider-3d-raytrace.html: Added.
      * Dromaeo/sunspider-access-binary-trees.html: Added.
      * Dromaeo/sunspider-access-fannkuch.html: Added.
      * Dromaeo/sunspider-access-nbody.html: Added.
      * Dromaeo/sunspider-access-nsieve.html: Added.
      * Dromaeo/sunspider-bitops-3bit-bits-in-byte.html: Added.
      * Dromaeo/sunspider-bitops-bits-in-byte.html: Added.
      * Dromaeo/sunspider-bitops-bitwise-and.html: Added.
      * Dromaeo/sunspider-bitops-nsieve-bits.html: Added.
      * Dromaeo/sunspider-controlflow-recursive.html: Added.
      * Dromaeo/sunspider-crypto-aes.html: Added.
      * Dromaeo/sunspider-crypto-md5.html: Added.
      * Dromaeo/sunspider-crypto-sha1.html: Added.
      * Dromaeo/sunspider-date-format-tofte.html: Added.
      * Dromaeo/sunspider-date-format-xparb.html: Added.
      * Dromaeo/sunspider-math-cordic.html: Added.
      * Dromaeo/sunspider-math-partial-sums.html: Added.
      * Dromaeo/sunspider-math-spectral-norm.html: Added.
      * Dromaeo/sunspider-regexp-dna.html: Added.
      * Dromaeo/sunspider-string-fasta.html: Added.
      * Dromaeo/sunspider-string-tagcloud.html: Added.
      * Dromaeo/sunspider-string-unpack-code.html: Added.
      * Dromaeo/sunspider-string-validate-input.html: Added.
      * Dromaeo/v8-crypto.html: Added.
      * Dromaeo/v8-deltablue.html: Added.
      * Dromaeo/v8-earley-boyer.html: Added.
      * Dromaeo/v8-raytrace.html: Added.
      * Dromaeo/v8-richards.html: Added.
      * Skipped:
      
      Tools:
      
      Added an ignorable pattern which happens in some Dromaeo tests.
      
      * Scripts/webkitpy/performance_tests/perftestsrunner.py:
      (PerfTestsRunner):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106865 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aa55f3f1
  20. 02 Feb, 2012 2 commits
  21. 01 Feb, 2012 2 commits
  22. 31 Jan, 2012 5 commits
    • morrita@google.com's avatar
      Import Dromaeo to WebKit repository. · b92146d2
      morrita@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=77328
      
      Reviewed by Ryosuke Niwa.
      
      Imported a modified version of Dromaeo which is able to
      run on the DRT.
      
      The imported version originally came from:
      https://github.com/omo/dromaeo/commit/c942a1452109cdd5f759b3c4aee8d68d490d44a2
      
      * Dromaeo/resources/dromaeo/web/application.css: Added.
      * Dromaeo/resources/dromaeo/web/favicon.ico: Added.
      * Dromaeo/resources/dromaeo/web/favicon.png: Added.
      * Dromaeo/resources/dromaeo/web/htmlrunner.js: Added.
      * Dromaeo/resources/dromaeo/web/ie.css: Added.
      * Dromaeo/resources/dromaeo/web/images/bg.png: Added.
      * Dromaeo/resources/dromaeo/web/images/clouds.png: Added.
      * Dromaeo/resources/dromaeo/web/images/clouds2.png: Added.
      * Dromaeo/resources/dromaeo/web/images/comets.png: Added.
      * Dromaeo/resources/dromaeo/web/images/dino1.png: Added.
      * Dromaeo/resources/dromaeo/web/images/dino2.png: Added.
      * Dromaeo/resources/dromaeo/web/images/dino3.png: Added.
      * Dromaeo/resources/dromaeo/web/images/dino4.png: Added.
      * Dromaeo/resources/dromaeo/web/images/dino5.png: Added.
      * Dromaeo/resources/dromaeo/web/images/dino6.png: Added.
      * Dromaeo/resources/dromaeo/web/images/dino7.png: Added.
      * Dromaeo/resources/dromaeo/web/images/dino8.png: Added.
      * Dromaeo/resources/dromaeo/web/images/left.png: Added.
      * Dromaeo/resources/dromaeo/web/images/logo.png: Added.
      * Dromaeo/resources/dromaeo/web/images/logo2.png: Added.
      * Dromaeo/resources/dromaeo/web/images/logo3.png: Added.
      * Dromaeo/resources/dromaeo/web/images/right.png: Added.
      * Dromaeo/resources/dromaeo/web/images/top.png: Added.
      * Dromaeo/resources/dromaeo/web/images/water.png: Added.
      * Dromaeo/resources/dromaeo/web/index.html: Added.
      * Dromaeo/resources/dromaeo/web/jquery.js: Added.
      * Dromaeo/resources/dromaeo/web/lib/dojo.js: Added.
      * Dromaeo/resources/dromaeo/web/lib/jquery.js: Added.
      * Dromaeo/resources/dromaeo/web/lib/mootools.js: Added.
      * Dromaeo/resources/dromaeo/web/lib/prototype.js: Added.
      * Dromaeo/resources/dromaeo/web/pngfix.js: Added.
      * Dromaeo/resources/dromaeo/web/reset.css: Added.
      * Dromaeo/resources/dromaeo/web/test-head.html: Added.
      * Dromaeo/resources/dromaeo/web/test-head.js: Added.
      * Dromaeo/resources/dromaeo/web/test-tail.html: Added.
      * Dromaeo/resources/dromaeo/web/test-tail.js: Added.
      * Dromaeo/resources/dromaeo/web/tests/MANIFEST.json: Added.
      * Dromaeo/resources/dromaeo/web/tests/cssquery-dojo.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/cssquery-jquery.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/cssquery-mootools.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/cssquery-prototype.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/cssquery-yui.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/dom-attr.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/dom-modify.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/dom-query.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/dom-traverse.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/dromaeo-3d-cube.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/dromaeo-core-eval.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/dromaeo-object-array.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/dromaeo-object-regexp.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/dromaeo-object-string.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/dromaeo-string-base64.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/jslib-attr-jquery.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/jslib-attr-prototype.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/jslib-event-jquery.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/jslib-event-prototype.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/jslib-modify-jquery.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/jslib-modify-prototype.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/jslib-style-jquery.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/jslib-style-prototype.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/jslib-traverse-jquery.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/jslib-traverse-prototype.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/sunspider-3d-morph.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/sunspider-3d-raytrace.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/sunspider-access-binary-trees.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/sunspider-access-fannkuch.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/sunspider-access-nbody.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/sunspider-access-nsieve.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/sunspider-bitops-3bit-bits-in-byte.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/sunspider-bitops-bits-in-byte.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/sunspider-bitops-bitwise-and.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/sunspider-bitops-nsieve-bits.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/sunspider-controlflow-recursive.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/sunspider-crypto-aes.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/sunspider-crypto-md5.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/sunspider-crypto-sha1.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/sunspider-date-format-tofte.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/sunspider-date-format-xparb.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/sunspider-math-cordic.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/sunspider-math-partial-sums.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/sunspider-math-spectral-norm.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/sunspider-regexp-dna.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/sunspider-string-fasta.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/sunspider-string-tagcloud.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/sunspider-string-unpack-code.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/sunspider-string-validate-input.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/v8-crypto.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/v8-deltablue.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/v8-earley-boyer.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/v8-raytrace.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/v8-richards.html: Added.
      * Dromaeo/resources/dromaeo/web/tests/72px.png: Added.
      * Dromaeo/resources/dromaeo/web/web-style.css: Added.
      * Dromaeo/resources/dromaeo/web/webrunner.js: Added.
      * Skipped: Unskip the dromaeo driver.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106425 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b92146d2
    • rniwa@webkit.org's avatar
      Fix Parser/html5-full-render.html after r106379. · 260940da
      rniwa@webkit.org authored
      * Parser/html5-full-render.html:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106419 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      260940da
    • rniwa@webkit.org's avatar
      PerfTestRunner should automatically create pre#log · ef28db1a
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=77469
      
      Reviewed by Tony Chang.
      
      Automatically generate <pre id="log"></pre> if there isn't one.
      
      * Bindings/event-target-wrapper.html:
      * DOM/Accessors.html:
      * DOM/CloneNodes.html:
      * DOM/CreateNodes.html:
      * DOM/DOMDivWalk.html:
      * DOM/DOMTable.html:
      * DOM/DOMWalk.html:
      * DOM/Events.html:
      * DOM/GetElement.html:
      * DOM/GridSort.html:
      * DOM/Template.html:
      * Dromaeo/dom-query.html:
      * Dromaeo/resources/dromaeorunner.js:
      * Parser/html-parser.html:
      * Parser/html5-full-render.html:
      * Parser/simple-url.html:
      * Parser/tiny-innerHTML.html:
      * Parser/url-parser.html:
      * Parser/xml-parser.html:
      * resources/runner.js:
      (PerfTestRunner.log):
      (PerfTestRunner.printStatistics):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106386 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ef28db1a
    • rniwa@webkit.org's avatar
      runner.js in performance tests should define a class · e0cd0a9a
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=77074
      
      Reviewed by Eric Seidel.
      
      Wrap all functions in runner.js by PerfTestRunner and update tests that runner.js accordingly.
      Also replace compute* functions in runner.js by more robust code from dom-perf.js.
      
      * Bindings/event-target-wrapper.html:
      * DOM/DOMTable.html:
      * DOM/resources/dom-perf.js:
      (BenchmarkSuite.prototype.RunSingle):
      (runBenchmarkSuite):
      * Mutation/append-child-deep.html:
      * Mutation/append-child.html:
      * Mutation/inner-html.html:
      * Mutation/remove-child-deep.html:
      * Mutation/remove-child.html:
      * Parser/html-parser.html:
      * Parser/html5-full-render.html:
      * Parser/simple-url.html:
      * Parser/tiny-innerHTML.html:
      * Parser/url-parser.html:
      * Parser/xml-parser.html:
      * resources/runner.js:
      (PerfTestRunner.log):
      (PerfTestRunner.logInfo):
      (PerfTestRunner.loadFile):
      (PerfTestRunner.computeStatistics):
      (PerfTestRunner.logStatistics):
      (PerfTestRunner._runLoop.else):
      (PerfTestRunner._runLoop):
      (PerfTestRunner._runner):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106379 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e0cd0a9a
    • commit-queue@webkit.org's avatar
      [PerformanceTests] Add landing html for Dromaeo dom-query test · 3b4a9fa1
      commit-queue@webkit.org authored
      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):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106348 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3b4a9fa1
  23. 30 Jan, 2012 1 commit
  24. 29 Jan, 2012 1 commit
  25. 27 Jan, 2012 1 commit
    • rniwa@webkit.org's avatar
      Import Chromium's dom_perf test · 5ba90596
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=77175
      
      Reviewed by Adam Barth.
      
      Import dom_perf.
      
      Note resources/dom/suites.js isn't used by any html file yet but it will be used by Chromium port
      once its perf bots start pulling test files from WebKit repository instead of Google's internal repository.
      
      * DOM: Added.
      * DOM/Accessors.html: Added.
      * DOM/CloneNodes.html: Added.
      * DOM/CreateNodes.html: Added.
      * DOM/DOMDivWalk.html: Added.
      * DOM/DOMTable.html: Added.
      * DOM/DOMWalk.html: Added.
      * DOM/Events.html: Added.
      * DOM/GetElement.html: Added.
      * DOM/GridSort.html: Added.
      * DOM/Template.html: Added.
      * DOM/resources: Added.
      * DOM/resources/dom-perf.js: Added.
      * DOM/resources/dom-perf: Added.
      * DOM/resources/dom-perf/accessors.js: Added.
      * DOM/resources/dom-perf/clonenodes.js: Added.
      * DOM/resources/dom-perf/createnodes.js: Added.
      * DOM/resources/dom-perf/domdivwalk.js: Added.
      * DOM/resources/dom-perf/domtable.js: Added.
      * DOM/resources/dom-perf/domwalk.js: Added.
      * DOM/resources/dom-perf/events.js: Added.
      * DOM/resources/dom-perf/getelement.js: Added.
      * DOM/resources/dom-perf/gridsort.js: Added.
      * DOM/resources/dom-perf/suites.js: Added.
      * DOM/resources/dom-perf/template.js: Added.
      * resources/runner.js:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106147 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5ba90596
  26. 25 Jan, 2012 1 commit