Turn PageLoad tests into simple performancetests, commit #3
authorzoltan@webkit.org <zoltan@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 25 Oct 2012 21:00:40 +0000 (21:00 +0000)
committerzoltan@webkit.org <zoltan@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 25 Oct 2012 21:00:40 +0000 (21:00 +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 #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: https://svn.webkit.org/repository/webkit/trunk@132531 268f45cc-cd09-0410-ab3c-d52691b4dbfc

PerformanceTests/ChangeLog
PerformanceTests/SVG/Debian.html [new file with mode: 0644]
PerformanceTests/SVG/DropsOnABlade.html [new file with mode: 0644]
PerformanceTests/SVG/FlowerFromMyGarden.html [new file with mode: 0644]
PerformanceTests/SVG/FoodLeifLodahl.html [new file with mode: 0644]
PerformanceTests/SVG/resources/Debian.svg [moved from PerformanceTests/PageLoad/svg/files/deb9frac1.svg with 100% similarity]
PerformanceTests/SVG/resources/DropsOnABlade.svg [moved from PerformanceTests/PageLoad/svg/files/44057-drops on a blade.svg with 100% similarity]
PerformanceTests/SVG/resources/FlowerFromMyGarden.svg [moved from PerformanceTests/PageLoad/svg/files/42470-flower_from_my_garden_v2.svg with 100% similarity]
PerformanceTests/SVG/resources/FoodLeifLodahl.svg [moved from PerformanceTests/PageLoad/svg/files/food_leif_lodahl_01.svg with 100% similarity]

index e56a48d..8c9a0ce 100644 (file)
@@ -1,3 +1,29 @@
+2012-10-25  Zoltan Horvath  <zoltan@webkit.org>
+
+        Turn PageLoad tests into simple performancetests, commit #3 
+        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.
+
 2012-10-24  Zoltan Horvath  <zoltan@webkit.org>
 
         Turn PageLoad tests into simple performancetests, commit #2 
diff --git a/PerformanceTests/SVG/Debian.html b/PerformanceTests/SVG/Debian.html
new file mode 100644 (file)
index 0000000..1c309a9
--- /dev/null
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<body>
+<script src="../resources/runner.js"></script>
+<script>
+window.onload = function() {
+    PerfTestRunner.measurePageLoadTime({path: "resources/Debian.svg"});
+}
+</script>
+</body>
diff --git a/PerformanceTests/SVG/DropsOnABlade.html b/PerformanceTests/SVG/DropsOnABlade.html
new file mode 100644 (file)
index 0000000..e989952
--- /dev/null
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<body>
+<script src="../resources/runner.js"></script>
+<script>
+window.onload = function() {
+    PerfTestRunner.measurePageLoadTime({path: "resources/DropsOnABlade.svg"});
+}
+</script>
+</body>
diff --git a/PerformanceTests/SVG/FlowerFromMyGarden.html b/PerformanceTests/SVG/FlowerFromMyGarden.html
new file mode 100644 (file)
index 0000000..20b2e2d
--- /dev/null
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<body>
+<script src="../resources/runner.js"></script>
+<script>
+window.onload = function() {
+    PerfTestRunner.measurePageLoadTime({path: "resources/FlowerFromMyGarden.svg"});
+}
+</script>
+</body>
diff --git a/PerformanceTests/SVG/FoodLeifLodahl.html b/PerformanceTests/SVG/FoodLeifLodahl.html
new file mode 100644 (file)
index 0000000..c409911
--- /dev/null
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<body>
+<script src="../resources/runner.js"></script>
+<script>
+window.onload = function() {
+    PerfTestRunner.measurePageLoadTime({path: "resources/FoodLeifLodahl.svg"});
+}
+</script>
+</body>