Bugs item #1518405, was opened at 2006-07-06 21:19 Message generated for change (Tracker Item Submitted) made by Item Submitter 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: Open Resolution: None 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? ---------------------------------------------------------------------- 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
