xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nikhil Dinesh <nikh...@seas.upenn.edu>
Subject Re: Performance enhancement post GVT building
Date Thu, 24 Jun 2004 04:35:05 GMT
Hi Thomas,

On Wed, 23 Jun 2004, Thomas DeWeese wrote:

> Hi Nikhil,
>
> Nikhil Dinesh wrote:
>
> > Im trying to use the JSVGCanvas to draw an SVGDocument of size about
> > 140KB. The DOM creation and GVT build happen with expected speeds...but
> > the canvas takes about 13 seconds post build to be painted. Is there
> > anything I could do to shorten  the TreeRenderer phase or a phase post
> > that? Ive set all text styles="text/plain" which reduced the delay to the
> > current amout.
>
>     Well sample content always helps.  The two common time sinks I've
> seen are filters and text.  I'll focus on text since you mention it as
> a time factor, is the time actually spent in the render phase or the
> rendering preparation phase?

All the time is spent in the render phase i.e. I timed it from
gvtRenderingStarted to gvtRenderingCompleted. Attached is about 1/50th of
the document. Sorry about the formatting but the DOMSerializer makes entities
out of new lines. Let me know if you would like to see the whole file to
verify measurements.

Thanks,
Nikhil

Mime
View raw message