Turn PageLoad tests into simple performancetests, commit #5
authorzoltan@webkit.org <zoltan@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 26 Oct 2012 16:31:33 +0000 (16:31 +0000)
committerzoltan@webkit.org <zoltan@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 26 Oct 2012 16:31:33 +0000 (16:31 +0000)
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: https://svn.webkit.org/repository/webkit/trunk@132670 268f45cc-cd09-0410-ab3c-d52691b4dbfc

PerformanceTests/ChangeLog
PerformanceTests/SVG/HarveyRayner.html [new file with mode: 0644]
PerformanceTests/SVG/MtSaintHelens.html [new file with mode: 0644]
PerformanceTests/SVG/SierpinskiCarpet.html [new file with mode: 0644]
PerformanceTests/SVG/resources/HarveyRayner.svg [moved from PerformanceTests/PageLoad/svg/files/Harvey_Rayner.svg with 100% similarity]
PerformanceTests/SVG/resources/MtSaintHelens.svg [moved from PerformanceTests/PageLoad/svg/files/mtsthelens.svg with 100% similarity]
PerformanceTests/SVG/resources/SierpinskiCarpet.svg [moved from PerformanceTests/PageLoad/svg/files/Sierpinski_carpet_6.svg with 100% similarity]
PerformanceTests/SVG/resources/mtsthelens0.jpg [moved from PerformanceTests/PageLoad/svg/files/mtsthelens0.jpg with 100% similarity]
PerformanceTests/Skipped

index e1cb5f4..c8d75df 100644 (file)
@@ -1,3 +1,29 @@
+2012-10-26  Zoltan Horvath  <zoltan@webkit.org>
+
+        Turn PageLoad tests into simple performancetests, commit #5 
+        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.
+
 2012-10-25  Zoltan Horvath  <zoltan@webkit.org>
 
         Turn PageLoad tests into simple performancetests, commit #4 
diff --git a/PerformanceTests/SVG/HarveyRayner.html b/PerformanceTests/SVG/HarveyRayner.html
new file mode 100644 (file)
index 0000000..4a4b608
--- /dev/null
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<body>
+<script src="../resources/runner.js"></script>
+<script>
+window.onload = function() {
+    PerfTestRunner.measurePageLoadTime({path: "resources/HarveyRayner.svg"});
+}
+</script>
+</body>
diff --git a/PerformanceTests/SVG/MtSaintHelens.html b/PerformanceTests/SVG/MtSaintHelens.html
new file mode 100644 (file)
index 0000000..58d4df4
--- /dev/null
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<body>
+<script src="../resources/runner.js"></script>
+<script>
+window.onload = function() {
+    PerfTestRunner.measurePageLoadTime({path: "resources/MtSaintHelens.svg"});
+}
+</script>
+</body>
diff --git a/PerformanceTests/SVG/SierpinskiCarpet.html b/PerformanceTests/SVG/SierpinskiCarpet.html
new file mode 100644 (file)
index 0000000..80dadf5
--- /dev/null
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<body>
+<script src="../resources/runner.js"></script>
+<script>
+window.onload = function() {
+    PerfTestRunner.measurePageLoadTime({path: "resources/SierpinskiCarpet.svg"});
+}
+</script>
+</body>
index 0f18ad0..9178217 100644 (file)
@@ -5,7 +5,7 @@ Mutation
 PageLoad/svg/files/33041-Samurai.svg
 
 # Takes too long to load
-PageLoad/svg/files/Sierpinski_carpet_6.svg
+SVG/SierpinskiCarpet.html
 
 SVG/France.html
 SVG/FrancoBolloGnomeEzechi.html
@@ -13,7 +13,7 @@ PageLoad/svg/files/gearflowers.svg
 PageLoad/svg/files/hereGear4.svg
 
 # Takes 22s on MacBookPro
-PageLoad/svg/files/mtsthelens.svg
+SVG/MtSaintHelens.html
 
 # Do not conform to WebKit or Chromium perf test styles
 SunSpider