Hi Jocke,

Take a look at 
http://srufaculty.sru.edu/david.dailey/svg/SVGOpen2007/SVGOpen2007.htm
and http://www.svgopen.org/2007/papers/BrowserPerformanceMeasures/index.html

The topic you're looking at was more the topic of my 2006 talk, but since that 
conference was cancelled, some of it has been inserted into the 2007 
presentation. Embedding SMIL in the middle of JavaScript and looking at 
throughput of the entire system was the emphasis. The above talk contains 
descriptions of that approach.

What I resorted to was cramming large numbers of <animate> tags into an SVG DOM 
and then to measure the proportion of iterations through a window.setTimeout 
that successfully competed within a given unit of non-declarative time (using 
calls to clock.) 

Also Opera has implemented a "finished rendering" event that may appear in a 
future spec (fingers crossed) and so this can help those interested in 
benchmarking and calibration of time-sensitive events like real-time data 
visualization.

Hope this helps
David
  ----- Original Message ----- 
  From: jocke_138 
  To: [email protected] 
  Sent: Tuesday, August 26, 2008 6:55 AM
  Subject: [svg-developers] SVG benchmark


  Hi,
  I'm new to this group and have just started working with SVG.

  I'm using a mock-up GUI to compare performances of different web-
  technologies. The GUI measures fps (frames per seconds) and I've
  ported this from HTML+Javascript to SVG+Javascript. The next step is
  to use SVGs native animation functions (i.e SMIL). The problem is that
  I haven't figured out how measure the frame rate.

  E.g; using Javascript you can use the setInterval function for each
  render and measure the time consumption and thus get the fps. But with
  SMIL animations it is the browser that computes when and where to
  render the next step - you only state for how many seconds the
  animation should go on.

  Does someone have any ideas on how I could achieve this? Or am I way
  off in my reasoning?

  Thanks
  /Jocke



   

[Non-text portions of this message have been removed]


------------------------------------

-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
----Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to