1. 29 Mar, 2013 1 commit
    • abucur@adobe.com's avatar
      [CSS Regions] Add performance tests · bfe3d62b
      abucur@adobe.com authored
      https://bugs.webkit.org/show_bug.cgi?id=113303
      
      Reviewed by Antti Koivisto.
      
      Add simple performance tests for regions, without nested named flows: a region chain and a flow article.
      The regions.js script is used to generate the tests and can set the following parameters: the number of regions,
      the number of paragraphs, the regions width, height, max-height and the propability of a forced break after a paragraph.
      
      The tests are skipped for now. They should be enabled once the regions performance is stable enough to create a baseline.
      
      * Layout/RegionsAuto.html: Added. A few regions with a short article. The regions have auto-height and some
      paragraphs (80%) have forced breaks after. Stress test for the auto-height algorithm.
      * Layout/RegionsAutoMaxHeight.html: Added. A lot of regions with auto-height and max-height. Tests the impact of
      max-height on the auto-height algorithm.
      * Layout/RegionsFixed.html: Added. A lot of regions with a long article. Some paragraphs (50%) have forced breaks after.
      Stress test for the regions layout algorithm.
      * Layout/RegionsFixedShort.html: Added. A lot of short regions with a long content. Tests the impact of unforced breaks
      on the layout speed.
      * Layout/resources/regions.css: Added.
      (.articleInFlow):
      (.articleNone):
      (.region):
      (.contentParagraph):
      (.breakAfter):
      (.regionContainer):
      * Layout/resources/regions.js: Added.
      (.):
      * Skipped:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147214 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bfe3d62b
  2. 27 Mar, 2013 1 commit
  3. 19 Mar, 2013 1 commit
  4. 05 Mar, 2013 1 commit
  5. 04 Mar, 2013 1 commit
  6. 03 Mar, 2013 1 commit
    • rniwa@webkit.org's avatar
      Some perf. tests have variances that differ greatly between runs · 855a7724
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=97510
      
      Reviewed by Benjamin Poulain.
      
      PerformanceTests: 
      
      In order to control the number of iterations and processes to use from run-perf-tests, always use 20
      iterations on all tests except Dromaeo, where even doing 5 iterations is prohibitively slow, by default.
      Without this change, it'll become extremely hard for us to tweak the number of iterations and processes
      to use from run-perf-tests.
      
      * Animation/balls.html:
      * DOM/DOMTable.html:
      * DOM/resources/dom-perf.js:
      (runBenchmarkSuite.PerfTestRunner.measureTime):
      * Dromaeo/resources/dromaeorunner.js:
      * Layout/floats_100_100.html:
      * Layout/floats_100_100_nested.html:
      * Layout/floats_20_100.html:
      * Layout/floats_20_100_nested.html:
      * Layout/floats_2_100.html:
      * Layout/floats_2_100_nested.html:
      * Layout/floats_50_100.html:
      * Layout/floats_50_100_nested.html:
      * Layout/subtree-detaching.html:
      * Parser/html5-full-render.html:
      * SVG/SvgHitTesting.html:
      * resources/runner.js:
      * resources/results-template.html:
      
      Tools: 
      
      Use multiple instances of DumpRenderTree or WebKitTestRunner to amortize the effect of the runtime
      environment on test results (we run each instance after one another, not in parallel).
      
      We use 4 instances of the test runner, each executing 5 in-process iterations, for the total of 20
      iterations as it was done previously in single process. These values are hard-coded in perftest.py
      and runner.js but they are to be configurable in the future.
      
      Set of 5 iterations obtained by the same test runner is treated as an "iteration group" and each
      metric now reports an array of the length 4 with each element containing an array of 5 iteration
      values obtained by each test runner instance as opposed to a flattened array of 20 iteration values.
      
      Unfortunately, we can use the same trick on Dromaeo because we're already doing only 5 iterations
      and repeating the entire Dromaeo 4 times will take too long. We need to disable more Dromaeo tests
      as needed. To this end, added SingleProcessPerfTest to preserve the old behavior.
      
      * Scripts/webkitpy/performance_tests/perftest.py:
      (PerfTestMetric.append_group): Renamed from append.
      (PerfTestMetric.grouped_iteration_values): Added.
      (PerfTestMetric.flattened_iteration_values): Renamed from iteration_values.
      
      (PerfTest.__init__): Takes the number of processes (drivers) to run tests with.
      This parameter is only used by SingleProcessPerfTest.
      
      (PerfTest.run): Repeat tests using different driver processes.
      (PerfTest._run_with_driver): Returns a boolean instead of a list of measured metrics
      since metrics are shared between multiple drivers (i.e. multiple calls to _run_with_driver).
      We instead use _ensure_metrics to obtain the matched metrics and store the data there.
      (PerfTest._ensure_metrics): Added.
      
      (SingleProcessPerfTest): Added. Used to run Dromaeo tests where running it on 4 different
      instances of DumpRenderTree/WebKitTestRunner takes too long.
      (SingleProcessPerfTest.__init__):
      
      (ReplayPerfTest._run_with_driver): Updated to use _ensure_metrics.
      
      (PerfTestFactory): Use SingleProcessPerfTest to run Dromaeo tests.
      
      * Scripts/webkitpy/performance_tests/perftest_unittest.py: Updated various tests that expect
      _run_with_driver to return a list of metrics. Now it returns a boolean indicating whether
      the test succeeded or not. Obtain the dictionary of metrics via test._metrics instead.
      
      (TestPerfTestMetric.test_append): Updated per name and added some test cases for
      grouped_iteration_values.
      
      (TestPerfTest._assert_results_are_correct):
      
      (TestSingleProcessPerfTest): Added.
      (TestSingleProcessPerfTest.test_use_only_one_process):
      (TestSingleProcessPerfTest.test_use_only_one_process.run_single):
      
      (TestReplayPerfTest.test_run_with_driver_accumulates_results):
      (TestReplayPerfTest.test_run_with_driver_accumulates_memory_results):
      
      * Scripts/webkitpy/performance_tests/perftestsrunner_integrationtest.py: Updated values of
      sample standard deviations since we're now running tests 4 times.
      (MainTest._test_run_with_json_output.mock_upload_json):
      (MainTest.test_run_with_upload_json_should_generate_perf_webkit_json):
      
      LayoutTests: 
      
      Use dromaeoIterationCount now that we no longer support iterationCount.
      
      * fast/harness/perftests/runs-per-second-iterations.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@144583 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      855a7724
  7. 26 Feb, 2013 1 commit
    • rniwa@webkit.org's avatar
      Use perf.webkit.org JSON format in results page · 2069f250
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=110842
      
      Reviewed by Benjamin Poulain.
      
      PerformanceTests: 
      
      Updated the results page template to use the new JSON format.
      
      Since new JSON format doesn't contain statistics such as stdev and min, added statistics.js to compute
      these values. Also use 95% percentile confidence interval instead of standard deviation in various places.
      
      * resources/results-template.html: Added statistics.js as dependency.
      (TestResult): Updated to take a metric instead of its test. Replaced stdev() with confidenceIntervalDelta()
      now that we have a fancy Statistics class.
      
      (TestRun.webkitRevision):
      (PerfTestMetric): Renamed from PerfTest since this object now encapsulates each measurement (such as time,
      JS heap, and malloc) in test. Also added a conversion table from a metric name to a unit since new format
      doesn't contain units.
      (PerfTestMetric.name): Updated to compute the full metric name from test name and metric name, matching
      the old behavior.
      (PerfTestMetric.isMemoryTest): Explicitly look for 'JSHeap' and 'Malloc' tests.
      (PerfTestMetric.smallerIsBetter):
      
      (attachPlot): Deleted the code to deal with tests that don't provide individual iteration measurement
      since such tests no longer exist. Also fixed up the code compute y-axis range.
      
      (createTableRow.markupForRun): Updated to use confidenceIntervalDelta() instead of stdev().
              
      (init.addTests): Added. Recursively add metrics.
      
      * resources/statistics.js: Added. Imported from perf.webkit.org.
      (Statistics.max):
      (Statistics.min):
      (Statistics.sum):
      (Statistics.squareSum):
      (Statistics.sampleStandardDeviation):
      (Statistics.supportedConfidenceLevels):
      (Statistics.confidenceIntervalDelta):
      (Statistics.confidenceInterval):
      
      Tools: 
      
      Change the default JSON format from that of webkit-perf.appspot.com to that of perf.webkit.org.
      
      A whole bunch of integration tests have been updated to use the new JSON format.
      
      * Scripts/webkitpy/performance_tests/perftestsrunner.py:
      (PerfTestsRunner._generate_and_show_results): Renamed output and output_path to legacy_output
      and legacy_output_json_path respectively.
      (PerfTestsRunner._generate_results_dict): Don't assume meta build information is always available.
      (PerfTestsRunner._generate_output_files): Make json_output, which is used to generate the default
      JSON file and the results page out of perf_webkit_output instead of legacy_output.
      
      * Scripts/webkitpy/performance_tests/perftestsrunner_integrationtest.py:
      (MainTest.test_run_memory_test):
      (MainTest._test_run_with_json_output.mock_upload_json):
      (MainTest):
      (MainTest.test_run_with_json_output):
      (MainTest.test_run_with_description):
      (MainTest.test_run_generates_json_by_default):
      (MainTest.test_run_merges_output_by_default):
      (MainTest.test_run_respects_reset_results):
      (MainTest.test_run_generates_and_show_results_page):
      (MainTest.test_run_with_slave_config_json):
      (MainTest.test_run_with_multiple_repositories):
      (MainTest.test_run_with_upload_json):
      (MainTest.test_run_with_upload_json_should_generate_perf_webkit_json):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@144141 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2069f250
  8. 11 Feb, 2013 1 commit
    • commit-queue@webkit.org's avatar
      Web Inspector: Split Profiler domain in protocol into Profiler and HeapProfiler · 616b3d6a
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=108653
      
      Patch by Alexei Filippov <alph@chromium.org> on 2013-02-11
      Reviewed by Yury Semikhatsky.
      
      Currently CPU and heap profilers share the same domain 'Profiler' in the protocol.
      In fact these two profile types have not too much in common. So put each into its own domain.
      It should also help when Profiles panel gets split into several tools.
      This is the phase 1 which adds InspectorHeapProfilerAgent but doesn't
      change the original InspectorProfilerAgent.
      
      PerformanceTests:
      
      * inspector/heap-snapshot-performance-test.js:
      (test.performanceTest.cleanup):
      
      Source/WebCore:
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * Target.pri:
      * WebCore.gypi:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.vcxproj/WebCore.vcxproj:
      * WebCore.vcxproj/WebCore.vcxproj.filters:
      * WebCore.xcodeproj/project.pbxproj:
      * inspector/Inspector.json:
      * inspector/InspectorAllInOne.cpp:
      * inspector/InspectorController.cpp:
      (WebCore::InspectorController::InspectorController):
      * inspector/InspectorHeapProfilerAgent.cpp: Added.
      (WebCore):
      (WebCore::InspectorHeapProfilerAgent::create):
      (WebCore::InspectorHeapProfilerAgent::InspectorHeapProfilerAgent):
      (WebCore::InspectorHeapProfilerAgent::~InspectorHeapProfilerAgent):
      (WebCore::InspectorHeapProfilerAgent::resetState):
      (WebCore::InspectorHeapProfilerAgent::resetFrontendProfiles):
      (WebCore::InspectorHeapProfilerAgent::setFrontend):
      (WebCore::InspectorHeapProfilerAgent::clearFrontend):
      (WebCore::InspectorHeapProfilerAgent::restore):
      (WebCore::InspectorHeapProfilerAgent::collectGarbage):
      (WebCore::InspectorHeapProfilerAgent::createSnapshotHeader):
      (WebCore::InspectorHeapProfilerAgent::hasHeapProfiler):
      (WebCore::InspectorHeapProfilerAgent::getProfileHeaders):
      (WebCore::InspectorHeapProfilerAgent::getHeapSnapshot):
      (WebCore::InspectorHeapProfilerAgent::removeProfile):
      (WebCore::InspectorHeapProfilerAgent::takeHeapSnapshot):
      (WebCore::InspectorHeapProfilerAgent::getObjectByHeapObjectId):
      (WebCore::InspectorHeapProfilerAgent::getHeapObjectId):
      (WebCore::InspectorHeapProfilerAgent::reportMemoryUsage):
      * inspector/InspectorHeapProfilerAgent.h: Added.
      (WebCore):
      (InspectorHeapProfilerAgent):
      (WebCore::InspectorHeapProfilerAgent::clearProfiles):
      * inspector/InspectorInstrumentation.cpp:
      (WebCore):
      (WebCore::InspectorInstrumentation::didCommitLoadImpl):
      * inspector/InstrumentingAgents.h:
      (WebCore):
      (InstrumentingAgents):
      (WebCore::InstrumentingAgents::inspectorHeapProfilerAgent):
      (WebCore::InstrumentingAgents::setInspectorHeapProfilerAgent):
      * inspector/WorkerInspectorController.cpp:
      (WebCore::WorkerInspectorController::WorkerInspectorController):
      * inspector/front-end/HeapSnapshotDataGrids.js:
      * inspector/front-end/HeapSnapshotGridNodes.js:
      (WebInspector.HeapSnapshotGenericObjectNode.prototype.queryObjectContent):
      * inspector/front-end/HeapSnapshotView.js:
      (WebInspector.HeapProfileHeader.prototype.startSnapshotTransfer):
      (WebInspector.HeapProfileHeader.prototype.saveToFile.onOpen):
      (WebInspector.HeapProfileHeader.prototype.saveToFile):
      * inspector/front-end/ProfilesPanel.js:
      (WebInspector.ProfilesPanel):
      (WebInspector.ProfilesPanel.prototype._clearProfiles):
      (WebInspector.ProfilesPanel.prototype._garbageCollectButtonClicked):
      (WebInspector.ProfilesPanel.prototype._removeProfileHeader):
      (WebInspector.ProfilesPanel.prototype._populateProfiles.var):
      (WebInspector.ProfilesPanel.prototype._populateProfiles.populateCallback):
      (WebInspector.ProfilesPanel.prototype._populateProfiles):
      (WebInspector.ProfilesPanel.prototype.takeHeapSnapshot):
      (WebInspector.ProfilesPanel.prototype.revealInView):
      (WebInspector.HeapProfilerDispatcher):
      (WebInspector.HeapProfilerDispatcher.prototype.addProfileHeader):
      (WebInspector.HeapProfilerDispatcher.prototype.addHeapSnapshotChunk):
      (WebInspector.HeapProfilerDispatcher.prototype.finishHeapSnapshot):
      (WebInspector.HeapProfilerDispatcher.prototype.resetProfiles):
      (WebInspector.HeapProfilerDispatcher.prototype.reportHeapSnapshotProgress):
      * inspector/front-end/TimelinePanel.js:
      (WebInspector.TimelinePanel.prototype._garbageCollectButtonClicked):
      * inspector/front-end/inspector.js:
      (WebInspector.doLoadedDone):
      
      Source/WebKit/chromium:
      
      * src/WebDevToolsAgentImpl.cpp:
      (WebKit::WebDevToolsAgent::shouldInterruptForMessage):
      
      LayoutTests:
      
      * inspector-protocol/heap-profiler/resources/heap-snapshot-common.js:
      (InspectorTest.takeHeapSnapshot.InspectorTest.eventHandler.string_appeared_here):
      (InspectorTest.takeHeapSnapshot):
      * inspector-protocol/nmi-webaudio-leak-test.html:
      * inspector/profiler/heap-snapshot-get-profile-crash.html:
      * inspector/profiler/heap-snapshot-inspect-dom-wrapper.html:
      * inspector/profiler/heap-snapshot-loader.html:
      * inspector/profiler/heap-snapshot-test.js:
      (initialize_HeapSnapshotTest):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142460 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      616b3d6a
  9. 05 Feb, 2013 1 commit
  10. 23 Jan, 2013 1 commit
  11. 18 Jan, 2013 1 commit
  12. 17 Jan, 2013 4 commits
    • dominicc@chromium.org's avatar
      Unreviewed, re-land r140051. · 215464fc
      dominicc@chromium.org authored
      I overzealously rolled this out; the test was intended to be
      skipped, but was not skipped because of a typo in Skipped. See
      <https://bugs.webkit.org/show_bug.cgi?id=107210>
      
      * Parser/html-parser-srcdoc.html: Added.
      * Skipped: Big-P Parser.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140088 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      215464fc
    • dominicc@chromium.org's avatar
      Unreviewed, rolling out r140051. · 5c1567f1
      dominicc@chromium.org authored
      http://trac.webkit.org/changeset/140051
      https://bugs.webkit.org/show_bug.cgi?id=107210
      
      html-parser-srcdoc.html failing on Chromium Linux Perf and
      Chromium Mac Perf with a lot of error spew about blocked
      script execution in 'about:srcdoc' (Requested by dominicc on
      #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-01-17
      
      * Parser/html-parser-srcdoc.html: Removed.
      * Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140078 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5c1567f1
    • rniwa@webkit.org's avatar
      Remove NodeListsNodeData when it's no longer needed · e6ab325d
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=107074
      
      Reviewed by Darin Adler.
      
      PerformanceTests: 
      
      Added a micro benchmark to see the benefit of removing NodeListsNodeData.
      The test traverses all elements in the html5 specification page and accesses childNodes.
      
      Don't enable this test for now since it's really a micro benchmark specifically
      designed to test this patch.
      
      * DOM/TraverseChildNodes.html: Added.
      * Skipped: Don't enable newly added test by default.
      * resources/results-template.html: Compare against the unscaled unit (e.g. "bytes") as
      opposed to scaled units such as "K bytes".
      * resources/runner.js:
      (.start): Moved the code to call currentTest.setup from measureRunsPerSecondOnce so that
      it'll be ran for all test types, namely of PerfTestRunner.measureTime.
      (.measureRunsPerSecondOnce):
      
      Source/WebCore: 
      
      Remove NodeListsNodeData when the last node list is removed from it.
      
      If we detect that we have only one node list left in the data structure,
      we'll simply destroy the entire "this" object to free up the memory space.
      
      This reduced the memory usage of the micro benchmark by roughly 3%.
      
      Performance Tests: DOM/TraverseChildNodes.html
      
      * dom/Node.cpp:
      (WebCore::Node::clearNodeLists): Added.
      * dom/Node.h:
      * dom/NodeRareData.h:
      (WebCore::NodeListsNodeData::removeChildNodeList):
      (WebCore::NodeListsNodeData::removeCacheWithAtomicName):
      (WebCore::NodeListsNodeData::removeCacheWithName):
      (WebCore::NodeListsNodeData::removeCacheWithQualifiedName):
      (WebCore::NodeListsNodeData::deleteThisAndUpdateNodeRareDataIfAboutToRemoveLastList): Added.
      Removes "this" NodeListsNodeData if there is only one node list left.
      
      Tools: 
      
      Generalize the warning a little so that it's also ignored on PerformanceTests/DOM/TraverseChildNodes.html
      
      * Scripts/webkitpy/performance_tests/perftest.py:
      (PerfTest):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140070 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e6ab325d
    • eric@webkit.org's avatar
      Add a version of the html-parser benchmark which uses srcdoc instead of... · d6c45992
      eric@webkit.org authored
      Add a version of the html-parser benchmark which uses srcdoc instead of document.write so it tests the threaded parser
      https://bugs.webkit.org/show_bug.cgi?id=107158
      
      Reviewed by Ryosuke Niwa.
      
      Currently this test even opts-in to the threaded parser if available.
      We'll remove that line when the threaded parser becomes default or goes away.
      
      * Parser/html-parser-srcdoc.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140051 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d6c45992
  13. 16 Jan, 2013 1 commit
    • commit-queue@webkit.org's avatar
      inconsistency in drawImage with target rect negative dimensions. · 6cfbe23e
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100026
      
      Patch by Arnaud Renevier <a.renevier@sisa.samsung.com> on 2013-01-16
      Reviewed by Dean Jackson.
      
      PerformanceTests:
      
      Create a drawImage performance test. There is no significative change
      in performance: 27144.6851528 runs/s without the patch; 27153.517612
      runs/s with the patch. Test is currently skipped.
      
      * Canvas/drawimage.html: Added.
      * Skipped:
      
      Source/WebCore:
      
      Remove -1, -1 special case in drawImage and drawImageBuffer. Replace
      all -1 -1 arguments calls to with the correct rectangle dimensions.
      
      Remove FloatRect(0, 0, -1, -1) default argument for srcRect, and
      instead, add new overloaded functions to create a FloatRect from image
      size.
      
      Replace -1 -1 arguments calls in FEComposite::platformApplySoftware
      with correct rectangle dimensions.
      
      Replace ImageGStreamer rect method (which may return -1 -1 rectangle)
      with cropRect method, and make caller check for rectangle emptiness.
      
      * fast/canvas/drawImage-with-negative-source-destination-expected.txt:
      * fast/canvas/drawImage-with-negative-source-destination.js:
      
      * platform/graphics/GraphicsContext.cpp:
      (WebCore::GraphicsContext::drawImage):
      (WebCore):
      (WebCore::GraphicsContext::drawImageBuffer):
      * platform/graphics/GraphicsContext.h:
      (GraphicsContext):
      * platform/graphics/filters/FEComposite.cpp:
      (WebCore::FEComposite::platformApplySoftware):
      * platform/graphics/gstreamer/ImageGStreamer.h:
      (WebCore::ImageGStreamer::rect):
      
      LayoutTests:
      
      Add a drawImage check for a destination rectangle with -1px
      width/height. When drawing to (1, 1, -1, -1) rectangle, first
      (top-left) pixel should have been and been the only one drawn into.
      
      * fast/canvas/drawImage-with-negative-source-destination-expected.txt:
      * fast/canvas/drawImage-with-negative-source-destination.js:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139911 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6cfbe23e
  14. 15 Jan, 2013 1 commit
  15. 28 Dec, 2012 1 commit
    • yurys@chromium.org's avatar
      Web Inspector: rename distanceToWindow to distance · a002c111
      yurys@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=105823
      
      Reviewed by Pavel Feldman.
      
      PerformanceTests:
      
      Updated heap profiler performance test after renaming distanceToWindow to distance.
      
      * inspector/heap-snapshot-performance-test.js:
      
      Source/WebCore:
      
      Renamed distanceToWindow to distance. Introduced a method on HeapSnapshot
      that allows to check if given node should be displayed to the user as having
      distance 1.
      
      * inspector/front-end/HeapSnapshot.js:
      (WebInspector.HeapSnapshotEdge.prototype.serialize):
      (WebInspector.HeapSnapshotRetainerEdge.prototype.serialize):
      (WebInspector.HeapSnapshotNode.prototype.distance):
      (WebInspector.HeapSnapshotNode.prototype.serialize):
      (WebInspector.HeapSnapshot.prototype._init):
      (WebInspector.HeapSnapshot.prototype.dispose):
      (WebInspector.HeapSnapshot.prototype.canHaveDistanceOne):
      (WebInspector.HeapSnapshot.prototype._calculateDistances):
      (WebInspector.HeapSnapshot.prototype._bfs):
      (WebInspector.HeapSnapshot.prototype._buildAggregates):
      * inspector/front-end/HeapSnapshotDataGrids.js:
      (WebInspector.HeapSnapshotRetainmentDataGrid):
      (WebInspector.HeapSnapshotRetainmentDataGrid.prototype._sortFields):
      (WebInspector.HeapSnapshotConstructorsDataGrid):
      (WebInspector.HeapSnapshotConstructorsDataGrid.prototype._sortFields):
      * inspector/front-end/HeapSnapshotGridNodes.js:
      (WebInspector.HeapSnapshotGenericObjectNode):
      (WebInspector.HeapSnapshotGenericObjectNode.prototype.get data):
      (WebInspector.HeapSnapshotObjectNode):
      (WebInspector.HeapSnapshotObjectNode.prototype.comparator):
      (WebInspector.HeapSnapshotObjectNode.prototype._enhanceData):
      (WebInspector.HeapSnapshotInstanceNode.prototype.comparator):
      (WebInspector.HeapSnapshotConstructorNode):
      (WebInspector.HeapSnapshotConstructorNode.prototype.comparator):
      (WebInspector.HeapSnapshotConstructorNode.prototype.get data):
      * inspector/front-end/JSHeapSnapshot.js:
      (WebInspector.JSHeapSnapshot.prototype.canHaveDistanceOne):
      
      LayoutTests:
      
      Updated tests after renaming distanceToWindow to distance.
      
      * inspector/profiler/heap-snapshot-summary-sorting-fields.html:
      * inspector/profiler/heap-snapshot-summary-sorting-instances.html:
      * inspector/profiler/heap-snapshot-summary-sorting.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138528 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a002c111
  16. 18 Dec, 2012 2 commits
  17. 13 Dec, 2012 1 commit
  18. 05 Dec, 2012 2 commits
  19. 04 Dec, 2012 1 commit
    • rniwa@webkit.org's avatar
      PerformanceTests: Dromaeo should report individual test result · 96514be3
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=99800
      
      Reviewed by Eric Seidel.
      
      Made one small modification to Droameo's webrunner.js so that it reports individual runs/s values
      for each subtest. This allows us to compute the aggregated run/s for each iteration like other
      performance tests.
      
      Also stop measuring memory usage in Dromaeo tests because some Dromaeo tests (e.g. jslib-modify-jquery)
      have unrealistic memory usage, and measuring them at the time of teardown doesn't make much sense.
      
      * Animation/balls.html: Fixed typo: measureValueAync.
      * Dromaeo/resources/dromaeo/web/webrunner.js:
      
      * Dromaeo/resources/dromaeorunner.js:
      (DRT.setup): Call prepareToMeasureValuesAsync so that DRT.teardown can use meausreValueAsync, and log
      "Running 5 times". Since the log container will be inserted before iframe, we need to explicitly insert
      the iframe as the first child of the body element to avoid logs from affecting the iframe's position.
      Also specify the number of iterations by calling PerfTestRunner.iterationCount() so that we may adjust
      the number of iterations in PerfTestRunner.
      
      (DRT.progress): Log individual measurement for each subtest.
      (DRT.teardown): Compute the aggregated result for each iteration, and log them using measureValueAsync.
      
      * resources/runner.js:
      (PerfTestRunner.logStatistics): Merged printStatistics since it's no longer needed after r131638.
      (PerfTestRunner): Removed getAndPrintMemoryStatistics since it was used only in Dromaeo tests but
      we no longer measure memory usage in Dromaeo tests.
      
      (start): Increment completedRuns from -1 to 0 for Dromaeo tests where we don't want to ignore the initial
      measurement. Note that ignoreWarmUpAndLog ignores the measurements for which completedRuns is negative.
      
      (ignoreWarmUpAndLog): We don't measure memory usage in Dromaeo tests. See above.
      (PerfTestRunner.iterationCount): Added. This abstraction allows us to auto-adjust the number of iterations from
      run-perf-tests in near future.
      (PerfTestRunner.measureValueAsync): Renamed from measureValueAync.
      
      Tools: Dromaeo should report individual test result
      https://bugs.webkit.org/show_bug.cgi?id=99800
      
      Reviewed by Eric Seidel.
      
      Ignore subtest results spit out by Dromaeo tests.
      
      * Scripts/webkitpy/performance_tests/perftest.py:
      (PerfTest): Added a line to ignore.
      * Scripts/webkitpy/performance_tests/perftest_unittest.py:
      (MainTest.test_parse_output_with_subtests): Added.
      
      LayoutTests: Fix a test and re-enable fast/harness/perftests on Chromium.
      
      * fast/harness/perftests/runs-per-second-log.html:
      * platform/chromium/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@136492 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      96514be3
  20. 29 Nov, 2012 1 commit
  21. 19 Nov, 2012 1 commit
    • shinyak@chromium.org's avatar
      Changing id, className, or attribute should invalidate distribution · 81d17784
      shinyak@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100738
      
      Reviewed by Dimitri Glazkov.
      
      PerformanceTests:
      
      Added test code to modify id/class/attribute.
      
      * DOM/ModifyAttribute.html: Added.
      * DOM/resources/dom-perf/modify-attribute.js: Added.
      (ModifyAttribute.CreateElementToSetUp):
      (ModifyAttribute.ModifyId):
      (ModifyAttribute.ModifyClass):
      (ModifyAttribute.ModifyTitle):
      
      Source/WebCore:
      
      When id, className, or attribute is changed, we might have to invalidate distribution.
      However, we don't want to do useless invalidation. So we consult with the RuleFeatureSet of ElementShadow
      to invalidate distribution only if necessary.
      
      For the code that className is changed, we can share a lot of code between invalidating distribution and
      invalidating style. So we made checkNeedsStyleInvalidationForClassChange a template method, and share it.
      
      Since attributeChanged() is a hot method, we don't want to make it slow. So we made one function to determine
      whether we have to invalidate distribution, and make it called only if necessary. Also, we've optimized
      shadowOfParentForDistribution() by making isInsertionPoint() de-virtualed. We consuded NodeFlags (IsInsertionPointFlag)
      for this purpose.
      
      We've measured how this patch makes changing attribute slow. I've measured each code 3 times.
      DOM/ModifyAttribute.html is a micro benchmark which changes attribute a lot of times. The result of this benchmark
      will be the most affected by this patch. However, it's only 2% performance regression.
      
      DOM/ModifyAttribute.html
      Before this patch:
              median  stdev    min    max    [ms]
        1st    494.0   3.36  490.0  502.0
        2nd    503.5   3.44  497.0  512.0
        3rd    494.0   3.48  488.0  499.0
      
      After this patch:
              median  stdev  min      max    [ms]
        1st    504.0   2.00  501.0  509.0
        2nd    505.5   3.08  500.0  513.0
        3rd    507.0   2.32  502.0  510.0
      
      Tests: fast/dom/shadow/distribution-attribute-modified.html
             fast/dom/shadow/distribution-className-modified.html
             fast/dom/shadow/distribution-id-modified.html
             fast/dom/shadow/reprojection-attribute-modified.html
             fast/dom/shadow/reprojection-className-modified.html
             fast/dom/shadow/reprojection-id-modified.html
      
      * dom/Element.cpp:
      (WebCore::Element::attributeChanged):
      (WebCore::HasSelectorForClassStyleFunctor::HasSelectorForClassStyleFunctor):
      (HasSelectorForClassStyleFunctor):
      (WebCore::HasSelectorForClassStyleFunctor::operator()): Returns true if StyleResolver::hasSelectorForClass returns true.
      (WebCore):
      (WebCore::HasSelectorForClassDistributionFunctor::HasSelectorForClassDistributionFunctor):
      (HasSelectorForClassDistributionFunctor):
      (WebCore::HasSelectorForClassDistributionFunctor::operator()): Returns true if ElementShadow::hasSelectForClass returns true.
      (WebCore::checkFunctorForClassChange):
      (WebCore::checkNeedsStyleInvalidationForClassChange):
      (WebCore::checkNeedsDistributionInvalidationForClassChange): Extracted the implementation to checkFunctorForClassChange.
      (WebCore::Element::shouldInvalidateDistributionWhenAttributeChanged):
      * dom/Element.h:
      (Element):
      * dom/Node.h:
      (WebCore::Node::isInsertionPoint):
      * html/HTMLElement.h:
      (HTMLElement):
      * html/shadow/InsertionPoint.cpp:
      (WebCore::InsertionPoint::InsertionPoint):
      * html/shadow/InsertionPoint.h:
      (InsertionPoint):
      (WebCore::isInsertionPoint):
      (WebCore::shadowOfParentForDistribution):
      (WebCore::resolveReprojection):
      
      LayoutTests:
      
      We have test cases that id/class/attribute is changed, and thier reprojection cases.
      
      * fast/dom/shadow/distribution-attribute-modified-expected.html: Added.
      * fast/dom/shadow/distribution-attribute-modified.html: Added.
      * fast/dom/shadow/distribution-className-modified-expected.html: Added.
      * fast/dom/shadow/distribution-className-modified.html: Added.
      * fast/dom/shadow/distribution-id-modified-expected.html: Added.
      * fast/dom/shadow/distribution-id-modified.html: Added.
      * fast/dom/shadow/reprojection-attribute-modified-expected.html: Added.
      * fast/dom/shadow/reprojection-attribute-modified.html: Added.
      * fast/dom/shadow/reprojection-className-modified-expected.html: Added.
      * fast/dom/shadow/reprojection-className-modified.html: Added.
      * fast/dom/shadow/reprojection-id-modified-expected.html: Added.
      * fast/dom/shadow/reprojection-id-modified.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@135174 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      81d17784
  22. 14 Nov, 2012 1 commit
    • rniwa@webkit.org's avatar
      runCount in runner.js should be renamed to iterationCount · 6853f48c
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=102208
      
      Reviewed by Tony Chang.
      
      Prior to this patch, there were terminology confusions between "runs" and "iterations".
      The term "run" should refer to running a performance test once, and "iteration" should
      refer to one measurement in the test. i.e. Executing run-perf-should once will result in
      a single "run" of performance tests and each test may execute multiple "iterations"
      to complete the run.
      
      Unfortunately, we still overload the meaning of "runs" in "runs/s" (is "function calls/s")
      but that could be addressed in a separate patch.
      
      * Animation/balls.html:
      * DOM/DOMTable.html:
      * DOM/resources/dom-perf.js:
      * Layout/floats_100_100.html:
      * Layout/floats_100_100_nested.html:
      * Layout/floats_20_100.html:
      * Layout/floats_20_100_nested.html:
      * Layout/floats_2_100.html:
      * Layout/floats_2_100_nested.html:
      * Layout/floats_50_100.html:
      * Layout/floats_50_100_nested.html:
      * Layout/subtree-detaching.html:
      * Parser/html5-full-render.html:
      * SVG/SvgHitTesting.html:
      * resources/runner.js:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134637 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6853f48c
  23. 13 Nov, 2012 1 commit
    • dglazkov@chromium.org's avatar
      Unreviewed, rolling out r134367. · 503331b0
      dglazkov@chromium.org authored
      http://trac.webkit.org/changeset/134367
      https://bugs.webkit.org/show_bug.cgi?id=100738
      
      Speculative rollout, could have cause Dromaeo setAttribute
      perf regression.
      
      PerformanceTests:
      
      * DOM/ModifyAttribute.html: Removed.
      * DOM/resources/dom-perf/modify-attribute.js: Removed.
      
      Source/WebCore:
      
      * dom/Element.cpp:
      (WebCore::Element::attributeChanged):
      (WebCore::checkNeedsStyleInvalidationForClassChange):
      (WebCore::Element::classAttributeChanged):
      
      LayoutTests:
      
      * fast/dom/shadow/distribution-attribute-modified-expected.html: Removed.
      * fast/dom/shadow/distribution-attribute-modified.html: Removed.
      * fast/dom/shadow/distribution-className-modified-expected.html: Removed.
      * fast/dom/shadow/distribution-className-modified.html: Removed.
      * fast/dom/shadow/distribution-id-modified-expected.html: Removed.
      * fast/dom/shadow/distribution-id-modified.html: Removed.
      * fast/dom/shadow/reprojection-attribute-modified-expected.html: Removed.
      * fast/dom/shadow/reprojection-attribute-modified.html: Removed.
      * fast/dom/shadow/reprojection-className-modified-expected.html: Removed.
      * fast/dom/shadow/reprojection-className-modified.html: Removed.
      * fast/dom/shadow/reprojection-id-modified-expected.html: Removed.
      * fast/dom/shadow/reprojection-id-modified.html: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134443 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      503331b0
  24. 12 Nov, 2012 1 commit
    • shinyak@chromium.org's avatar
      Changing id, className, or attribute should invalidate distribution · f2bd9cb5
      shinyak@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100738
      
      Reviewed by Dimitri Glazkov.
      
      PerformanceTests:
      
      Added test code to modify id/class/attribute.
      
      * DOM/ModifyAttribute.html: Added.
      * DOM/resources/dom-perf/modify-attribute.js: Added.
      (ModifyAttribute.CreateElementToSetUp):
      (ModifyAttribute.ModifyId):
      (ModifyAttribute.ModifyClass):
      (ModifyAttribute.ModifyTitle):
      
      Source/WebCore:
      
      When id, className, or attribute is changed, we might have to invalidate distribution.
      However, we don't want to do useless invalidation. So we consult with the RuleFeatureSet of ElementShadow,
      and invalidate distribution only if necessary.
      
      When className is changed, we can share a lot of code between invalidating distribution and invalidating style.
      So we made checkNeedsStyleInvalidationForClassChange a template method, and share it.
      
      Also we've measured how this patch makes changing attribute slow. By converting checkNeedsStyleInvalidationForClassChange
      to template, actually this improves the performance of changing attribute code. I've measured each code 3 times.
      
      DOM/ModifyAttribute.html
      Before this patch:
              median  stdev  min      max    [ms]
        1st   115.62   0.67  114.75   117.00
        2nd   115.08   1.13  113.25   117.58
        3rd   114.75   1.16  113.42   117.83
      
      After this patch:
              median  stdev  min      max    [ms]
        1st   102.55   0.95  101.25   104.50
        2nd   103.10   0.86  102.20   100.95
        3rd   103.30   1.05  102.10   106.65
      
      Tests: fast/dom/shadow/distribution-attribute-modified.html
             fast/dom/shadow/distribution-className-modified.html
             fast/dom/shadow/distribution-id-modified.html
             fast/dom/shadow/reprojection-attribute-modified.html
             fast/dom/shadow/reprojection-className-modified.html
             fast/dom/shadow/reprojection-id-modified.html
      
      * dom/Element.cpp:
      (WebCore::Element::attributeChanged):
      (WebCore::HasSelectorForClassStyleFunctor::HasSelectorForClassStyleFunctor):
      (HasSelectorForClassStyleFunctor):
      (WebCore::HasSelectorForClassStyleFunctor::operator()): Returns true if StyleResolver::hasSelectorForClass returns true.
      (WebCore):
      (WebCore::HasSelectorForClassDistributionFunctor::HasSelectorForClassDistributionFunctor):
      (HasSelectorForClassDistributionFunctor):
      (WebCore::HasSelectorForClassDistributionFunctor::operator()): Returns true if ElementShadow::hasSelectorForClass returns true.
      (WebCore::checkFunctorForClassChange):
      (WebCore::checkNeedsStyleInvalidationForClassChange): Extacted the implementation to checkFunctorForClassChange.
      (WebCore::checkNeedsDistributionInvalidationForClassChange):
      (WebCore::Element::classAttributeChanged):
      
      LayoutTests:
      
      We have test cases that id/class/attribute is changed, and thier reprojection cases.
      
      * fast/dom/shadow/distribution-attribute-modified-expected.html: Added.
      * fast/dom/shadow/distribution-attribute-modified.html: Added.
      * fast/dom/shadow/distribution-className-modified-expected.html: Added.
      * fast/dom/shadow/distribution-className-modified.html: Added.
      * fast/dom/shadow/distribution-id-modified-expected.html: Added.
      * fast/dom/shadow/distribution-id-modified.html: Added.
      * fast/dom/shadow/reprojection-attribute-modified-expected.html: Added.
      * fast/dom/shadow/reprojection-attribute-modified.html: Added.
      * fast/dom/shadow/reprojection-className-modified-expected.html: Added.
      * fast/dom/shadow/reprojection-className-modified.html: Added.
      * fast/dom/shadow/reprojection-id-modified-expected.html: Added.
      * fast/dom/shadow/reprojection-id-modified.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134367 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f2bd9cb5
  25. 06 Nov, 2012 1 commit
    • abarth@webkit.org's avatar
      DOMImplementation should use ScriptWrappable · e043972a
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=101279
      
      Reviewed by Eric Seidel.
      
      PerformanceTests:
      
      This simple PerformanceTest measure how quickly we can access
      document.implementation. The goal of this performance test is just to
      validate that using ScriptWrappable actually makes the bindings faster.
      
      * Bindings/document-implementation.html: Added.
      
      Source/WebCore:
      
      This patch makes DOMImplementation ScriptWrappable. Both the V8 and JSC
      bindings automatically detect the presence of this base class and use
      it to optimize getting and setting JavaScript wrappers.
      
      This patch is a 23% progression on Bindings/document-implementation for
      the V8 bindings and a 69% progression for the JSC bindings.
      
      * dom/DOMImplementation.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133657 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e043972a
  26. 05 Nov, 2012 1 commit
  27. 29 Oct, 2012 1 commit
    • zoltan@webkit.org's avatar
      Turn PageLoad tests into simple performancetests, commit #7 (last) · 18f61b34
      zoltan@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=99899
      
      Reviewed by Ryosuke Niwa.
      
      We cannot provide an elegant way to measure the memory consumption of the PageLoad tests, but we can turn them into simple
      performance tests and measure their memory footprint and performance that way. This change moves and renames the related files
      to their new location and adds html/js wrappers for them.
      
      This is the #7 (last) commit of the whole patch.
      
      * PageLoad: Removed.
      * PageLoad/svg: Removed.
      * PageLoad/svg/LICENSES: Removed.
      * PageLoad/svg/files: Removed.
      * PageLoad/svg/files/33041-Samurai.svg: Removed.
      * PageLoad/svg/files/42450-under the see.svg: Removed.
      * PageLoad/svg/files/world-iso.svg: Removed.
      * PageLoad/svg/svg.pltsuite: Removed.
      * SVG/Samurai.html: Added.
      * SVG/UnderTheSee.html: Added.
      * SVG/WorldIso.html: Added.
      * SVG/resources/LICENSES: Copied from PerformanceTests/PageLoad/svg/LICENSES.
      * SVG/resources/Samurai.svg: Copied from PerformanceTests/PageLoad/svg/files/33041-Samurai.svg.
      * SVG/resources/UnderTheSee.svg: Copied from PerformanceTests/PageLoad/svg/files/42450-under%20the%20see.svg.
      * SVG/resources/WorldIso.svg: Copied from PerformanceTests/PageLoad/svg/files/world-iso.svg.
      * SVG/resources/svg.pltsuite: Copied from PerformanceTests/PageLoad/svg/svg.pltsuite.
      * Skipped: Rename the files on the skipped list also.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132815 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      18f61b34
  28. 26 Oct, 2012 3 commits
    • eric@webkit.org's avatar
      Add a microbenchmark for Hindi (complex-text) line-layout · 41bf674e
      eric@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100024
      
      Reviewed by Ryosuke Niwa.
      
      I wrote this to make sure that we don't regress line-breaking performance
      for the complex-text codepath. This test has shown me that TOT is
      already 5% slower than Safari 6.0.1 here. :(
      
      * Layout/hindi-line-layout.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132717 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      41bf674e
    • zoltan@webkit.org's avatar
      Turn PageLoad tests into simple performancetests, commit #6 · dafba0f0
      zoltan@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=99899
      
      Reviewed by Ryosuke Niwa.
      
      We cannot provide an elegant way to measure the memory consumption of the PageLoad tests, but we can turn them into simple
      performance tests and measure their memory footprint and performance that way. This change moves and renames the related files
      to their new location and adds html/js wrappers for them.
      
      This is the #6 commit of the whole patch.
      
      * PageLoad/svg/files/gearflowers.svg: Removed.
      * PageLoad/svg/files/hereGear4.svg: Removed.
      * PageLoad/svg/files/worldcup.svg: Removed.
      * SVG/GearFlowers.html: Added.
      * SVG/HereGear.html: Added.
      * SVG/Worldcup.html: Added.
      * SVG/resources/GearFlowers.svg: Copied from PerformanceTests/PageLoad/svg/files/gearflowers.svg.
      * SVG/resources/HereGear.svg: Copied from PerformanceTests/PageLoad/svg/files/hereGear4.svg.
      * SVG/resources/Worldcup.svg: Copied from PerformanceTests/PageLoad/svg/files/worldcup.svg.
      * Skipped: Rename the files on the skipped list also.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132693 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dafba0f0
    • zoltan@webkit.org's avatar
      Turn PageLoad tests into simple performancetests, commit #5 · 529fb01f
      zoltan@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=99899
      
      Reviewed by Ryosuke Niwa.
      
      We cannot provide an elegant way to measure the memory consumption of the PageLoad tests, but we can turn them into simple
      performance tests and measure their memory footprint and performance that way. This change moves and renames the related files
      to their new location and adds html/js wrappers for them.
      
      This is the #5 commit of the whole patch.
      
      * PageLoad/svg/files/Harvey_Rayner.svg: Removed.
      * PageLoad/svg/files/Sierpinski_carpet_6.svg: Removed.
      * PageLoad/svg/files/mtsthelens.svg: Removed.
      * PageLoad/svg/files/mtsthelens0.jpg: Removed.
      * SVG/HarveyRayner.html: Added.
      * SVG/MtSaintHelens.html: Added.
      * SVG/SierpinskiCarpet.html: Added.
      * SVG/resources/HarveyRayner.svg: Copied from PerformanceTests/PageLoad/svg/files/Harvey_Rayner.svg.
      * SVG/resources/MtSaintHelens.svg: Copied from PerformanceTests/PageLoad/svg/files/mtsthelens.svg.
      * SVG/resources/SierpinskiCarpet.svg: Copied from PerformanceTests/PageLoad/svg/files/Sierpinski_carpet_6.svg.
      * SVG/resources/mtsthelens0.jpg: Copied from PerformanceTests/PageLoad/svg/files/mtsthelens0.jpg.
      * Skipped: Rename the files on the skipped list also.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132670 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      529fb01f
  29. 25 Oct, 2012 3 commits
    • zoltan@webkit.org's avatar
      Turn PageLoad tests into simple performancetests, commit #4 · ee168c78
      zoltan@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=99899
      
      Reviewed by Ryosuke Niwa.
      
      We cannot provide an elegant way to measure the memory consumption of the PageLoad tests, but we can turn them into simple
      performance tests and measure their memory footprint and performance that way. This change moves and renames the related files
      to their new location and adds html/js wrappers for them.
      
      This is the #4 commit of the whole patch.
      
      * PageLoad/svg/files/france.svg: Removed.
      * PageLoad/svg/files/francobollo_gnome_ezechi_02.svg: Removed.
      * SVG/France.html: Added.
      * SVG/FrancoBolloGnomeEzechi.html: Added.
      * SVG/resources/France.svg: Copied from PerformanceTests/PageLoad/svg/files/france.svg.
      * SVG/resources/FrancoBolloGnomeEzechi.svg: Copied from PerformanceTests/PageLoad/svg/files/francobollo_gnome_ezechi_02.svg.
      * Skipped: Rename the files on the skipped list also.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132544 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ee168c78
    • zoltan@webkit.org's avatar
      Turn PageLoad tests into simple performancetests, commit #3 · 9760f815
      zoltan@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=99899
      
      Reviewed by Ryosuke Niwa.
      
      We cannot provide an elegant way to measure the memory consumption of the PageLoad tests, but we can turn them into simple
      performance tests and measure their memory footprint and performance that way. This change moves and renames the related files
      to their new location and adds html/js wrappers for them.
      
      This is the #3 commit of the whole patch.
      
      * PageLoad/svg/files/42470-flower_from_my_garden_v2.svg: Removed.
      * PageLoad/svg/files/44057-drops on a blade.svg: Removed.
      * PageLoad/svg/files/deb9frac1.svg: Removed.
      * PageLoad/svg/files/food_leif_lodahl_01.svg: Removed.
      * SVG/Debian.html: Added.
      * SVG/DropsOnABlade.html: Added.
      * SVG/FlowerFromMyGarden.html: Added.
      * SVG/FoodLeifLodahl.html: Added.
      * SVG/resources/Debian.svg: Copied from PerformanceTests/PageLoad/svg/files/deb9frac1.svg.
      * SVG/resources/DropsOnABlade.svg: Copied from PerformanceTests/PageLoad/svg/files/44057-drops%20on%20a%20blade.svg.
      * SVG/resources/FlowerFromMyGarden.svg: Copied from PerformanceTests/PageLoad/svg/files/42470-flower_from_my_garden_v2.svg.
      * SVG/resources/FoodLeifLodahl.svg: Copied from PerformanceTests/PageLoad/svg/files/food_leif_lodahl_01.svg.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132531 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9760f815
    • zoltan@webkit.org's avatar
      Turn PageLoad tests into simple performancetests, commit #2 · 870ac01b
      zoltan@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=99899
      
      Reviewed by Ryosuke Niwa.
      
      We cannot provide an elegant way to measure the memory consumption of the PageLoad tests, but we can turn them into simple
      performance tests and measure their memory footprint and performance that way. This change moves and renames the related files
      to their new location and adds html/js wrappers for them.
      
      This is the #2 commit of the whole patch.
      
      * PageLoad/svg/files/cacuts_01.svg: Removed.
      * PageLoad/svg/files/cowboy.svg: Removed.
      * PageLoad/svg/files/crawfish2_ganson.svg: Removed.
      * SVG/Cactus.html: Added.
      * SVG/Cowboy.html: Added.
      * SVG/CrawFishGanson.html: Added.
      * SVG/resources/Cactus.svg: Copied from PerformanceTests/PageLoad/svg/files/cacuts_01.svg.
      * SVG/resources/Cowboy.svg: Copied from PerformanceTests/PageLoad/svg/files/cowboy.svg.
      * SVG/resources/CrawFishGanson.svg: Copied from PerformanceTests/PageLoad/svg/files/crawfish2_ganson.svg.
      * Skipped: Remove az-lizard_benji_park_01.svg from the skipped list.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132506 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      870ac01b
  30. 24 Oct, 2012 2 commits