2011-03-25 Leo Yang <leo.yang@torchmobile.com.cn>
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 25 Mar 2011 14:17:02 +0000 (14:17 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 25 Mar 2011 14:17:02 +0000 (14:17 +0000)
        Reviewed by Dirk Schulze.

        SVG <use> element performance improvement
        https://bugs.webkit.org/show_bug.cgi?id=57077

        Add a manual test case which is from
        http://upload.wikimedia.org/wikipedia/commons/4/4e/Sierpinski_carpet_6.svg
        for svg <use> element performance test.

        * PageLoad/svg/files/Sierpinski_carpet_6.svg: Added.
        * PageLoad/svg/svg.pltsuite:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81960 268f45cc-cd09-0410-ab3c-d52691b4dbfc

PerformanceTests/ChangeLog
PerformanceTests/PageLoad/svg/files/Sierpinski_carpet_6.svg [new file with mode: 0644]
PerformanceTests/PageLoad/svg/svg.pltsuite

index 02bcc1d..34732ab 100644 (file)
@@ -1,3 +1,17 @@
+2011-03-25  Leo Yang  <leo.yang@torchmobile.com.cn>
+
+        Reviewed by Dirk Schulze.
+
+        SVG <use> element performance improvement
+        https://bugs.webkit.org/show_bug.cgi?id=57077
+
+        Add a manual test case which is from
+        http://upload.wikimedia.org/wikipedia/commons/4/4e/Sierpinski_carpet_6.svg
+        for svg <use> element performance test.
+
+        * PageLoad/svg/files/Sierpinski_carpet_6.svg: Added.
+        * PageLoad/svg/svg.pltsuite:
+
 2011-02-05  Eric Seidel  <eric@webkit.org>
 
         Reviewed by Adam Barth.
diff --git a/PerformanceTests/PageLoad/svg/files/Sierpinski_carpet_6.svg b/PerformanceTests/PageLoad/svg/files/Sierpinski_carpet_6.svg
new file mode 100644 (file)
index 0000000..af583a1
--- /dev/null
@@ -0,0 +1,62 @@
+<?xml version="1.0" standalone="no"?>
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.0" width="900" height="900">
+    <defs>
+        <symbol id="s" viewBox="0 0 3 3">
+            <rect fill="#000" width="1" height="1" x="1" y="1"/>
+        </symbol>
+        <symbol id="s1" viewBox="0 0 900 900">
+            <use xlink:href="#s" x="0" y="0" width="900" height="900"/>
+            <use xlink:href="#s" x="0" y="0" width="300" height="300"/>
+            <use xlink:href="#s" x="300" y="0" width="300" height="300"/>
+            <use xlink:href="#s" x="600" y="0" width="300" height="300"/>
+            <use xlink:href="#s" x="0" y="300" width="300" height="300"/>
+            <use xlink:href="#s" x="600" y="300" width="300" height="300"/>
+            <use xlink:href="#s" x="0" y="600" width="300" height="300"/>
+            <use xlink:href="#s" x="300" y="600" width="300" height="300"/>
+            <use xlink:href="#s" x="600" y="600" width="300" height="300"/>
+        </symbol>
+        <symbol id="s2" viewBox="0 0 900 900">
+            <use xlink:href="#s" x="0" y="0" width="900" height="900"/>
+            <use xlink:href="#s1" x="0" y="0" width="300" height="300"/>
+            <use xlink:href="#s1" x="300" y="0" width="300" height="300"/>
+            <use xlink:href="#s1" x="600" y="0" width="300" height="300"/>
+            <use xlink:href="#s1" x="0" y="300" width="300" height="300"/>
+            <use xlink:href="#s1" x="600" y="300" width="300" height="300"/>
+            <use xlink:href="#s1" x="0" y="600" width="300" height="300"/>
+            <use xlink:href="#s1" x="300" y="600" width="300" height="300"/>
+            <use xlink:href="#s1" x="600" y="600" width="300" height="300"/>
+        </symbol>
+        <symbol id="s3" viewBox="0 0 900 900">
+            <use xlink:href="#s" x="0" y="0" width="900" height="900"/>
+            <use xlink:href="#s2" x="0" y="0" width="300" height="300"/>
+            <use xlink:href="#s2" x="300" y="0" width="300" height="300"/>
+            <use xlink:href="#s2" x="600" y="0" width="300" height="300"/>
+            <use xlink:href="#s2" x="0" y="300" width="300" height="300"/>
+            <use xlink:href="#s2" x="600" y="300" width="300" height="300"/>
+            <use xlink:href="#s2" x="0" y="600" width="300" height="300"/>
+            <use xlink:href="#s2" x="300" y="600" width="300" height="300"/>
+            <use xlink:href="#s2" x="600" y="600" width="300" height="300"/>
+        </symbol>
+        <symbol id="s4" viewBox="0 0 900 900">
+            <use xlink:href="#s" x="0" y="0" width="900" height="900"/>
+            <use xlink:href="#s3" x="0" y="0" width="300" height="300"/>
+            <use xlink:href="#s3" x="300" y="0" width="300" height="300"/>
+            <use xlink:href="#s3" x="600" y="0" width="300" height="300"/>
+            <use xlink:href="#s3" x="0" y="300" width="300" height="300"/>
+            <use xlink:href="#s3" x="600" y="300" width="300" height="300"/>
+            <use xlink:href="#s3" x="0" y="600" width="300" height="300"/>
+            <use xlink:href="#s3" x="300" y="600" width="300" height="300"/>
+            <use xlink:href="#s3" x="600" y="600" width="300" height="300"/>
+        </symbol>
+    </defs>
+    <rect width="900" height="900" fill="#fff"/>
+    <use xlink:href="#s" x="0" y="0" width="900" height="900"/>
+    <use xlink:href="#s4" x="0" y="0" width="300" height="300"/>
+    <use xlink:href="#s4" x="300" y="0" width="300" height="300"/>
+    <use xlink:href="#s4" x="600" y="0" width="300" height="300"/>
+    <use xlink:href="#s4" x="0" y="300" width="300" height="300"/>
+    <use xlink:href="#s4" x="600" y="300" width="300" height="300"/>
+    <use xlink:href="#s4" x="0" y="600" width="300" height="300"/>
+    <use xlink:href="#s4" x="300" y="600" width="300" height="300"/>
+    <use xlink:href="#s4" x="600" y="600" width="300" height="300"/>
+</svg>
index ca161e8..8242e48 100644 (file)
@@ -17,3 +17,4 @@ 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