On 2010-03-06 17:51-0500 Hezekiah M. Carty wrote:

> Alan,
>
> I have attached a patch which may solve the problem for you....

> I hope this speeds things up significantly for you!  On my system,
> x17c is slightly faster with this patch and xcairo than it is with
> qtwidget.
>
> Hez
>

Timing results before patch:

X-terminal:

softw...@raven> time examples/c/x17c -dev xcairo

real    6m3.730s
user    0m1.476s
sys     0m3.036s

Direct:

softw...@raven> time examples/c/x17c -dev xcairo

real    1m51.653s
user    0m1.424s
sys     0m3.404s

The user and sys times between the two are roughly similar, but the real
times are not because this example on the X-terminal absolutely locks up the
100Mbit/sec LAN causing factor of ~three delays over the direct result.

Timing results after patch:

X-terminal:

softw...@raven> time examples/c/x17c -dev xcairo
real    0m14.140s
user    0m1.272s
sys     0m0.148s

Direct:
softw...@raven> time examples/c/x17c -dev xcairo

real    0m13.154s
user    0m1.320s
sys     0m0.132s

Hmm.  Let me see now....  I guess I could live with a factor of 26
interactive speed increase on the X-terminal and a factor of ~8.5
interactive speed increase for the Direct system.   :-)

You are obviously on the right interactive speed track.  Thanks!

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
__________________________

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to