On 2009-04-04 22:49-0400 Hazen Babcock wrote:

>> I have a slightly more recent version of pangocairo (1.22.2) and I also get 
>> pretty much identical rendering speeds with text_clipping on or off.
>
> And now I'm not so sure about this result. Alan, can you try with the xcairo 
> driver? It seems noticeably slower to me now with text_clipping on. Slow 
> enough that I can almost see it drawing each string.

I measure no significant difference.  I held down the return key (to go
through the pages as quickly as possible) and got consistent timings (using
the time command) with text clipping and consistent timings without text
clipping.  And without was consistently faster.  But the difference was only
0.01 seconds, i.e., negligible.  So device xcairo is consistent with the
other cairo devices (none of which showed large changes in speed between
text clipping on or off).

I wonder if your recent rewrite of text handling in cairo is a factor.  The
above test was without your recent changes, i.e., revision 9774 of cairo.c.
You might want to repeat your test with that revision.  Also, I would highly
advise using the time command (or whatever is equivalent on Mac OS X) to
measure your timing results.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to