diff options
Diffstat (limited to 'PerformanceTests')
-rw-r--r-- | PerformanceTests/ChangeLog | 14 | ||||
-rw-r--r-- | PerformanceTests/PageLoad/svg/files/Sierpinski_carpet_6.svg | 62 | ||||
-rw-r--r-- | PerformanceTests/PageLoad/svg/svg.pltsuite | 1 |
3 files changed, 77 insertions, 0 deletions
diff --git a/PerformanceTests/ChangeLog b/PerformanceTests/ChangeLog index 02bcc1d..34732ab 100644 --- a/PerformanceTests/ChangeLog +++ b/PerformanceTests/ChangeLog @@ -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 index 0000000..af583a1 --- /dev/null +++ b/PerformanceTests/PageLoad/svg/files/Sierpinski_carpet_6.svg @@ -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> diff --git a/PerformanceTests/PageLoad/svg/svg.pltsuite b/PerformanceTests/PageLoad/svg/svg.pltsuite index ca161e8..8242e48 100644 --- a/PerformanceTests/PageLoad/svg/svg.pltsuite +++ b/PerformanceTests/PageLoad/svg/svg.pltsuite @@ -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 |