Layout/floats.html should be runnable by run-perf-tests
authorachicu@adobe.com <achicu@adobe.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 15 Mar 2012 01:07:27 +0000 (01:07 +0000)
committerachicu@adobe.com <achicu@adobe.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 15 Mar 2012 01:07:27 +0000 (01:07 +0000)
commit11c0e78014301927600da895966ebfb03fe37b03
treee87656f364f8d046ffb9f49e879f70d47db50970
parent938158d3916fc502a67f91758340b67af45efb41
Layout/floats.html should be runnable by run-perf-tests
https://bugs.webkit.org/show_bug.cgi?id=77051

Reviewed by Ryosuke Niwa.

I've split Layout/floats.html into multiple tests for each button in the original manual test.
Some tests take longer to run and I've changed the number of iterations, so that each tests finishes under 30s per run.

* DOM/resources/dom-perf.js:
* Layout/floats.html: Removed.
* Layout/floats_100_100.html: Added.
* Layout/floats_100_100_nested.html: Added.
* Layout/floats_20_100.html: Added.
* Layout/floats_20_100_nested.html: Added.
* Layout/floats_2_100.html: Added.
* Layout/floats_2_100_nested.html: Added.
* Layout/floats_50_100.html: Added.
* Layout/floats_50_100_nested.html: Added.
* Layout/resources/floats.css: Added.
(.container):
(.float):
(.big):
(.float-end):
* Layout/resources/floats.js: Added.
(.):
* Skipped:
* resources/runner.js:
(PerfTestRunner.resetRandomSeed):
(PerfTestRunner.random):
(Math.random):
    Moved the Math.random to runner.js to be used by all tests.
    Added resetRandomSeed to bring the randomizer back to initial seed.
    It is useful to get the same results at every run and minimize the
    differences between runs.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@110801 268f45cc-cd09-0410-ab3c-d52691b4dbfc
15 files changed:
PerformanceTests/ChangeLog
PerformanceTests/DOM/resources/dom-perf.js
PerformanceTests/Layout/floats.html [deleted file]
PerformanceTests/Layout/floats_100_100.html [new file with mode: 0644]
PerformanceTests/Layout/floats_100_100_nested.html [new file with mode: 0644]
PerformanceTests/Layout/floats_20_100.html [new file with mode: 0644]
PerformanceTests/Layout/floats_20_100_nested.html [new file with mode: 0644]
PerformanceTests/Layout/floats_2_100.html [new file with mode: 0644]
PerformanceTests/Layout/floats_2_100_nested.html [new file with mode: 0644]
PerformanceTests/Layout/floats_50_100.html [new file with mode: 0644]
PerformanceTests/Layout/floats_50_100_nested.html [new file with mode: 0644]
PerformanceTests/Layout/resources/floats.css [new file with mode: 0644]
PerformanceTests/Layout/resources/floats.js [new file with mode: 0644]
PerformanceTests/Skipped
PerformanceTests/resources/runner.js