[Sugar-devel] SVG performance

Tomeu Vizoso tomeu at sugarlabs.org
Tue Dec 9 09:11:21 EST 2008


On Tue, Dec 9, 2008 at 3:04 PM,  <pgf at laptop.org> wrote:
> bernie wrote:
>  > Jim Gettys wrote:
>  > > IIRC, librsvg is it.
>  > >
>  > > A bit more profiling to get through the tangled web of dependencies is
>  > > probably in order.
>  >
>  > To exclude the noise coming from  Python and GDK, I tried timing again
>  > with the command-line tool rsvg:
>  >
>  >   for i in *.svg; do echo $i; time rsvg $i $i.png; done
>  >
>  > This way I could not find any problematic svg file within the
>  > turtleart repository.  The slowest ones render in <0.1 seconds.
>
> i'm not sure i'd agree that "<0.1 seconds" isn't problematic.  how
> fast would the equivalent bitmap render?

In order to not give a perception of slugginesh, all UI operations
should take less than 0.2s.

If one icon takes 0.05s, we can render 4 of them before starting to look slow.

So we need to make those values much lower, or stop rendering icons
during UI operations.

Regards,

Tomeu


More information about the Sugar-devel mailing list