On 2015-05-30 12:11+0100 Phil Rosenberg wrote:

> Hi All
> I have just pushed some changes allowing wxWidgets driver to generate
> text sizes for layout purposes. However for use with wxPLViewer (i.e.
> when wxWidgets driver is used from the command line) this involves
> multiple checks backwards and forward. this is pretty slow. I have
> checked example 26 and this works fine, but takes a couple of seconds
> to render.

Hi Phil:

I am afraid it is bad news for this series of changes.

The speed on Linux has now (commit a407d24) slowed to a crawl, and
additional rendering issues have been introduced.  Furthermore, time
measurements vary all over the map.

For example,

software@raven> time examples/c/x01c -dev wxwidgets
PLplot library version: 5.11.0

real    0m9.242s
user    0m0.040s
sys     0m0.064s
software@raven> time examples/c/x01c -dev wxwidgets
PLplot library version: 5.11.0

real    0m57.337s
user    0m0.080s
sys     0m0.196s

and later the time went back down to ~10 seconds or so.  Furthermore,
for this example, only the first of the 4 subpages are rendered.  It
is not a hang, because after the first subpage is rendered (taking
somewhere between 10 seconds and 60 seconds) hitting the enter key
exits the example.

My bet is there has been some wxwidgets bug introduced by the recent
changes and concentrating on example 1 would be a good way to debug
whatever the problem is.

After doing that, if the time required to render example 1 is still
more than a fraction of a second, then I would carefully review the
client-server model you are using for wxPLViewer and why your text
size changes have made such a drastic reduction in speed.

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); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); 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