On Thu, 04 Dec 2008 06:12:30 -0000
"Frank Bruder" <[EMAIL PROTECTED]> wrote:

> Great work so far. Just three comments:
> 
> - You identify your platform and the user agents you've tested, but
> since Batik is a Java application it would make sense to also state
> which JVM version was used.

(Smack head on table) You're right, I should have thought of that. I'll
add it.

> - Your testing method does not necessarily measure a relevant
> benchmark. A scripting engine which queues events in such a way that
> interval and timeout events always are executed in the correct order
> would get perfect scores, no matter how much time the rendering takes.
> In the second call to setInterval() you could create a Date object
> each time and use that for measuring, to account for the possibility
> that the longer interval might be delayed in accordance with the
> shorter interval. Furthermore a user agent could switch to rendering
> only every other frame when the animation speed would otherwise slow
> down too much. Video player software commonly does this.

I'm not sure I understand your issue here. The interval events for the
animation and the sampling are two independent timers (or at least they
appear to be). So the "order of events" doesn't appear to have any
relevance (unless I'm really misunderstanding you).

I actually use the Date.getTime() method on each call to the sampling
routine to measure the actual elapsed time between my samples. In a
previous life, I had seen how much the actual interval could vary
relative to the expected interval. I need to make sure that I am clear
about this in the text.

You are correct, I can't actually measure rendering in the script, so
I'm making the assumption that each update is a render. So, this is
a potential issue that I need to document. 

> - Finally I'd like to note that a normal distribution in fact is an
> absolutely unreasonable assumption for a variable which can not be
> negative. A gamma distribution is more like it.

I stand corrected. My statistics is not what it used to be (and
possibly never was). Just to make sure, is a calculated standard
deviation still a useful measure of variation in a gamma distribution?
The main point of this assumption was to give me a measure of the
variability.

I really appreciate the time you have taken to read and comment on
this article. 

Thank you,
G. Wade
> --- In svg-developers@yahoogroups.com, "G. Wade Johnson" <[EMAIL PROTECTED]>
> wrote:
> >
> > I have just posted a second draft of my "Results of Profiling
> > Scripting Animation in SVG" on my website at
> > http://anomaly.org/wade/projects/svg/profiling/
> > 
> > I would appreciate any input from anyone who has the time to read
> > and comment on it.
> > 
> > I will try to incorporate any comments (and some changes to the
> > charts) into a final version over the next few days/weeks. I also
> > plan to put a little time into styling, so it doesn't look quite so
> > bland.
> > 
> > I hope to add more specific profiling over time to compare different
> > aspects of scripting SVG.
> > 
> > Any input would be appreciated.
> > G. Wade
> > -- 
> > All things are possible, given enough time and caffeine.
> >                                                      -- Danny Hoover
> >
> 
> 


-- 
To vacillate or not to vacillate, that is the question ... or is it?

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

-----
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