Style animation test - for Tdhtml?

View: New views
5 Messages — Rating Filter:   Alert me  

Style animation test - for Tdhtml?

by schrep-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Just saw this

http://www.evilsupergenius.net/frankmaidens.com/dev.php

Shows terribly on FF2 and great on FF3.

Mike
_______________________________________________
dev-performance mailing list
dev-performance@...
https://lists.mozilla.org/listinfo/dev-performance

Re: Style animation test - for Tdhtml?

by Boris Zbarsky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Mike Schroepfer wrote:
> Just saw this
>
> http://www.evilsupergenius.net/frankmaidens.com/dev.php
>
> Shows terribly on FF2 and great on FF3.

Am I missing something?  The page just draws a bunch of stuff once in random
positions, right?  Or are you clicking "recycle" over and over?

-Boris

_______________________________________________
dev-performance mailing list
dev-performance@...
https://lists.mozilla.org/listinfo/dev-performance

Re: Style animation test - for Tdhtml?

by Schrep :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Jan 15, 7:52 pm, Boris Zbarsky <bzbar...@...> wrote:

> Mike Schroepfer wrote:
> > Just saw this
>
> >http://www.evilsupergenius.net/frankmaidens.com/dev.php
>
> > Shows terribly on FF2 and great on FF3.
>
> Am I missing something?  The page just draws a bunch of stuff once in random
> positions, right?  Or are you clicking "recycle" over and over?
>

No not missing anything :-).  Yes - just noticed if you click recycle
to move to random positions the animation is quite jerky on FF2 and
smooth on FF3.   Saw this in the mootools forum for someone asking for
help because the animation looked bad on FF2 but fine on IE, Safari.
Mostly I should have checked out Tdhtml to make sure we are covering
this stuff.  Sorry for the spam - just seeking out situations in the
real world where people are noticing things.
_______________________________________________
dev-performance mailing list
dev-performance@...
https://lists.mozilla.org/listinfo/dev-performance

Re: Style animation test - for Tdhtml?

by Boris Zbarsky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Schrep wrote:
> No not missing anything :-).  Yes - just noticed if you click recycle
> to move to random positions the animation is quite jerky on FF2 and
> smooth on FF3.

There's an animation?  On trunk when I click "recycle" my CPU pegs for a bit and
then everything is painted in a new position...

> Mostly I should have checked out Tdhtml to make sure we are covering
> this stuff.

We're not, really.  None of our performance tests cover user perception,
including animation smoothness.  In fact, quite the opposite: Tdhtml would show
a win if we had a bug that caused us to stop painting all the intermediate
frames and only paint the first and last.  Tp has the same problem (e.g. if we
don't paint or reflow before onload Tp wins, but user perception loses).  Ts and
Txul may well have similar issues.

If we can figure out a way to quantify and measure DHTML animation smoothness,
that would be quite nice!

> Sorry for the spam

I don't think it's spam.  It just wasn't clear what the question is.  Thank you
for explaining!

-Boris

_______________________________________________
dev-performance mailing list
dev-performance@...
https://lists.mozilla.org/listinfo/dev-performance

Re: Style animation test - for Tdhtml?

by Robert O'Callahan-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Jan 17, 10:17 am, Boris Zbarsky <bzbar...@...> wrote:
> If we can figure out a way to quantify and measure DHTML animation smoothness,
> that would be quite nice!

Once we have compositor, we should hook something up so we can capture
each frame update to a buffer --- clipped to be transparent outside
the updated region. Then we could reftest invalidation and also test
that all animation frames were displayed.

Rob
_______________________________________________
dev-performance mailing list
dev-performance@...
https://lists.mozilla.org/listinfo/dev-performance