Turn PageLoad tests into simple performancetests, commit #7 (last)
authorzoltan@webkit.org <zoltan@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 29 Oct 2012 17:30:56 +0000 (17:30 +0000)
committerzoltan@webkit.org <zoltan@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 29 Oct 2012 17:30:56 +0000 (17:30 +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 #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: https://svn.webkit.org/repository/webkit/trunk@132815 268f45cc-cd09-0410-ab3c-d52691b4dbfc

PerformanceTests/ChangeLog
PerformanceTests/PageLoad/svg/svg.pltsuite [deleted file]
PerformanceTests/SVG/Samurai.html [new file with mode: 0644]
PerformanceTests/SVG/UnderTheSee.html [new file with mode: 0644]
PerformanceTests/SVG/WorldIso.html [new file with mode: 0644]
PerformanceTests/SVG/resources/LICENSES [moved from PerformanceTests/PageLoad/svg/LICENSES with 100% similarity]
PerformanceTests/SVG/resources/Samurai.svg [moved from PerformanceTests/PageLoad/svg/files/33041-Samurai.svg with 100% similarity]
PerformanceTests/SVG/resources/UnderTheSee.svg [moved from PerformanceTests/PageLoad/svg/files/42450-under the see.svg with 100% similarity]
PerformanceTests/SVG/resources/WorldIso.svg [moved from PerformanceTests/PageLoad/svg/files/world-iso.svg with 100% similarity]
PerformanceTests/SVG/resources/svg.pltsuite [new file with mode: 0644]
PerformanceTests/Skipped

index 01ee07a..261e21a 100644 (file)
@@ -1,3 +1,34 @@
+2012-10-29  Zoltan Horvath  <zoltan@webkit.org>
+
+        Turn PageLoad tests into simple performancetests, commit #7 (last) 
+        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.
+
 2012-10-26  Eric Seidel  <eric@webkit.org>
 
         Add a microbenchmark for Hindi (complex-text) line-layout
 2012-10-26  Eric Seidel  <eric@webkit.org>
 
         Add a microbenchmark for Hindi (complex-text) line-layout
diff --git a/PerformanceTests/PageLoad/svg/svg.pltsuite b/PerformanceTests/PageLoad/svg/svg.pltsuite
deleted file mode 100644 (file)
index 8242e48..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-file:///WEBKIT_PATH/PerformanceTests/PageLoad/svg/files/33041-Samurai.svg
-file:///WEBKIT_PATH/PerformanceTests/PageLoad/svg/files/42450-under%20the%20see.svg
-file:///WEBKIT_PATH/PerformanceTests/PageLoad/svg/files/42470-flower_from_my_garden_v2.svg
-file:///WEBKIT_PATH/PerformanceTests/PageLoad/svg/files/44057-drops%20on%20a%20blade.svg
-file:///WEBKIT_PATH/PerformanceTests/PageLoad/svg/files/Harvey_Rayner.svg
-file:///WEBKIT_PATH/PerformanceTests/PageLoad/svg/files/az-lizard_benji_park_01.svg
-file:///WEBKIT_PATH/PerformanceTests/PageLoad/svg/files/bamboo_01.svg
-file:///WEBKIT_PATH/PerformanceTests/PageLoad/svg/files/cacuts_01.svg
-file:///WEBKIT_PATH/PerformanceTests/PageLoad/svg/files/cowboy.svg
-file:///WEBKIT_PATH/PerformanceTests/PageLoad/svg/files/crawfish2_ganson.svg
-file:///WEBKIT_PATH/PerformanceTests/PageLoad/svg/files/deb9frac1.svg
-file:///WEBKIT_PATH/PerformanceTests/PageLoad/svg/files/food_leif_lodahl_01.svg
-file:///WEBKIT_PATH/PerformanceTests/PageLoad/svg/files/france.svg
-file:///WEBKIT_PATH/PerformanceTests/PageLoad/svg/files/francobollo_gnome_ezechi_02.svg
-file:///WEBKIT_PATH/PerformanceTests/PageLoad/svg/files/gearflowers.svg
-file:///WEBKIT_PATH/PerformanceTests/PageLoad/svg/files/hereGear4.svg
-file:///WEBKIT_PATH/PerformanceTests/PageLoad/svg/files/mtsthelens.svg
-file:///WEBKIT_PATH/PerformanceTests/PageLoad/svg/files/world-iso.svg
-file:///WEBKIT_PATH/PerformanceTests/PageLoad/svg/files/worldcup.svg
-file:///WEBKIT_PATH/PerformanceTests/PageLoad/svg/files/Sierpinski_carpet_6.svg
diff --git a/PerformanceTests/SVG/Samurai.html b/PerformanceTests/SVG/Samurai.html
new file mode 100644 (file)
index 0000000..9c66453
--- /dev/null
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<body>
+<script src="../resources/runner.js"></script>
+<script>
+window.onload = function() {
+    PerfTestRunner.measurePageLoadTime({path: "resources/Samurai.svg"});
+}
+</script>
+</body>
diff --git a/PerformanceTests/SVG/UnderTheSee.html b/PerformanceTests/SVG/UnderTheSee.html
new file mode 100644 (file)
index 0000000..98458b2
--- /dev/null
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<body>
+<script src="../resources/runner.js"></script>
+<script>
+window.onload = function() {
+    PerfTestRunner.measurePageLoadTime({path: "resources/UnderTheSee.svg"});
+}
+</script>
+</body>
diff --git a/PerformanceTests/SVG/WorldIso.html b/PerformanceTests/SVG/WorldIso.html
new file mode 100644 (file)
index 0000000..fc9609c
--- /dev/null
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<body>
+<script src="../resources/runner.js"></script>
+<script>
+window.onload = function() {
+    PerfTestRunner.measurePageLoadTime({path: "resources/WorldIso.svg"});
+}
+</script>
+</body>
diff --git a/PerformanceTests/SVG/resources/svg.pltsuite b/PerformanceTests/SVG/resources/svg.pltsuite
new file mode 100644 (file)
index 0000000..2b72f4f
--- /dev/null
@@ -0,0 +1,21 @@
+file:///WEBKIT_PATH/PerformanceTests/SVG/resources/AzLizardBenjiPark.svg
+file:///WEBKIT_PATH/PerformanceTests/SVG/resources/Bamboo.svg
+file:///WEBKIT_PATH/PerformanceTests/SVG/resources/Cactus.svg
+file:///WEBKIT_PATH/PerformanceTests/SVG/resources/Cowboy.svg
+file:///WEBKIT_PATH/PerformanceTests/SVG/resources/CrawFishGanson.svg
+file:///WEBKIT_PATH/PerformanceTests/SVG/resources/Debian.svg
+file:///WEBKIT_PATH/PerformanceTests/SVG/resources/DropsOnABlade.svg
+file:///WEBKIT_PATH/PerformanceTests/SVG/resources/FlowerFromMyGarden.svg
+file:///WEBKIT_PATH/PerformanceTests/SVG/resources/FoodLeifLodahl.svg
+file:///WEBKIT_PATH/PerformanceTests/SVG/resources/France.svg
+file:///WEBKIT_PATH/PerformanceTests/SVG/resources/FrancoBolloGnomeEzechi.svg
+file:///WEBKIT_PATH/PerformanceTests/SVG/resources/GearFlowers.svg
+file:///WEBKIT_PATH/PerformanceTests/SVG/resources/HarveyRayner.svg
+file:///WEBKIT_PATH/PerformanceTests/SVG/resources/HereGear.svg
+file:///WEBKIT_PATH/PerformanceTests/SVG/resources/LICENSES
+file:///WEBKIT_PATH/PerformanceTests/SVG/resources/MtSaintHelens.svg
+file:///WEBKIT_PATH/PerformanceTests/SVG/resources/Samurai.svg
+file:///WEBKIT_PATH/PerformanceTests/SVG/resources/SierpinskiCarpet.svg
+file:///WEBKIT_PATH/PerformanceTests/SVG/resources/UnderTheSee.svg
+file:///WEBKIT_PATH/PerformanceTests/SVG/resources/WorldIso.svg
+file:///WEBKIT_PATH/PerformanceTests/SVG/resources/Worldcup.svg
index 6e09051..3270601 100644 (file)
@@ -2,7 +2,7 @@
 Mutation
 
 # Unstable SVG page loading tests
 Mutation
 
 # Unstable SVG page loading tests
-PageLoad/svg/files/33041-Samurai.svg
+SVG/Samurai.html
 
 # Takes too long to load
 SVG/SierpinskiCarpet.html
 
 # Takes too long to load
 SVG/SierpinskiCarpet.html