Bugs item #1518405, was opened at 2006-07-06 23:19
Message generated for change (Comment added) made by joergl
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=442886&aid=1518405&group_id=45430
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Dominic Ford (dcf21)
Assigned to: Nobody/Anonymous (nobody)
Summary: Could PyX run a little quicker with large datafiles?
Initial Comment:
Just to pass on a comment that I've received in the
alpha testing of PyXPlot: it has been remarked that
PyXPlot runs surprisingly slowly for plots with large
numbers of points on them -- say, more than 10^4.
Although I can conceive of few cases where it would be
useful to have a plot with so many datapoints, it would
be nice not to expect the user to downsample large
datasets before plotting, and it does seems surprising
that the performance is as slow as it is.
I did some profiling to see whether my code or PyX was
taking all the CPU cycles, and the answer seems to be
that both share some blame for this. In the attached
plot, I plotted datasets consisting of random numbers,
gradually increasing the number of datapoints (moving
along the x-axis). The lines represent the time taken,
in seconds, for a short python script to call PyX and
produce an EPS plot, then for the latest PyXPlot
release to do likewise, then for a development
optimised version of PyXPlot, and finally for gnuplot.
The benchmarking machine was a 2 GHz Athlon with 512 Mb
RAM.
Another related issue seems to be PyX's memory usage. I
found that to plot 10^6 datapoints, PyX rapidly needs
more than 100 Mb RAM, which seems very surprising.
I realise this is quite a vague problem, but have you
tried profiling PyX to see whether its performance can
trivially be improved?
----------------------------------------------------------------------
>Comment By: J�rg Lehmann (joergl)
Date: 2006-08-17 09:27
Message:
Logged In: YES
user_id=390410
Hello Dominic,
we profile PyX from time to time to find out about the
worst performance bottlenecks. On the other hand, the·
development of PyX currently focuses on adding functionality
rather than improving the perfomance. The latter might
happen at a later stage. So while I appreciate the effort
you put into profiling, at the moment there is not much we
can do. I thus close the bug on Sourceforge but not in my
mind. ;-)
Jörg·
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=442886&aid=1518405&group_id=45430
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
PyX-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-devel