On 2009-11-09 21:56-0500 Hazen Babcock wrote: > Alan W. Irwin wrote: >> Here are some timing results for example 17 for various interactive >> devices. >> >> softw...@raven> time ./x17c -dev xwin >> >> real 0m10.224s >> user 0m0.096s >> sys 0m0.040s >> >> softw...@raven> time ./x17c -dev qtwidget >> >> real 0m11.521s >> user 0m1.084s >> sys 0m0.080s >> >> softw...@raven> time ./x17c -dev wxwidgets >> >> real 0m12.655s >> user 0m0.944s >> sys 0m0.160s >> >> softw...@raven> time ./x17c -dev xcairo >> >> real 1m19.804s >> user 0m1.376s >> sys 0m2.852s >> >> So xcairo is roughly 7x slower than the others which is really noticeable >> when running "make test_interactive" in either the build tree (with >> BUILD_TEST=ON) or the installed examples tree. >> >> Could one of those interested in the cairo device driver please put this >> interactive speed issue on their ToDo list? > > Could you elaborate a bit on these numbers? I also get about 10sec for xwin, > but xcairo only takes 15sec which is not much slower. > > Version info: > pkg-config --modversion pangocairo > 1.22.2 > pkg-config --modversion pango > 1.22.2 > pkg-config --modversion cairo > 1.8.0
The corresponding version numbers here (for Debian Lenny) are 1.20.5, 1.20.5, and 1.6.4. Those are significantly different version numbers (probably at least one stable release cycle different), and example 17 may exercise a pango/cairo path which has recently been optimized a lot. Thus, it is likely my older pango/cairo versions are the reason for the much larger xcairo slowdown that I see for example 17. Of course, optimization is only worthwhile if you can gain large factors out of it (at least a factor of four). Thus, your 1.5x xcairo slowdown numbers means no action is necessary to optimize cairo.c with regard to example 17. Thanks for following up my report so quickly. 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 __________________________ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel