A comparative analysis of some considerations for browser
performance in SVG.
Outline of remarks
David Dailey
Slippery Rock University
See the original paper itself
Introductory remarks
- interest in using SVG for
animation
examples -- all JavaScript & no SMIL: balloon
; all SMIL & no JavaScript ovals
- SMIL seemed slower (or more jagged) than JavaScript animation -- in some
cases
examples --
rotation of clipped image ;
Gaussian
blur
- JavaScript and SMIL animation or filters sometimes seemed to conflict.
examples --
egg
cloning on washboard
- There seemed to be browser differences
a. SMIL and filters may or may not work in certain browsers, and in context
of certain attributes
examples --
wiggleworm in Opera or IE/ASV ( animate attributeName="stroke-dasharray"
apparently not in IE )
b. IE/ASV tended to be faster for many operations
example: starflakes
- Need to quantify these observations
The programs
- Run time vs. render time and how to measure.
- Animation chamber (SVG Open 2006)
- SVG DOM chamber
Main results
- Table 1 : Time to build basic graphic elements,
by browser
- Figure 2 : Adding to the DOM concurrently vs
successively, by browser
- Table 3 : Time to render path objects
- Figure 3: Time to render path objects (with
browser effect partialled out)
- Table 5 : Time demands of transparency, by
browser
- Figure 5: same thing broken down by type of
object
- Table 6 : Time demands of transform=translate,
by browser
- Table 7: Time demands of clipPath, by browser
- Table 8: Time demands of various filters
- Table 9 : Methodology for timing animation
Other results?
See
paper
Conclusions
Questions?? (mail to ddaileyAtsruDotedu)