Re: [matplotlib-devel] performance (speed) of logarithmic plots

2010-03-19 Thread Michael Droettboom
This is indeed a very interesting result and I am able to reproduce similar ratios for total running time. However, I think the semilogx result is somewhat of a red herring. If you change the order of the tests in your script, you'll notice that the first "*log*" plot always takes the longest

Re: [matplotlib-devel] performance (speed) of logarithmic plots

2010-03-19 Thread Andrew Hawryluk
> Hello, > How did you get the cumtime listing? The output of the run doesn't produce a > cumulative sum table as you showed here. > Gökhan No, it doesn't. The output of the run is four huge cProfile listings, one for each plotting command tested. I manually searched the data for long cumtime's

Re: [matplotlib-devel] performance (speed) of logarithmic plots

2010-03-19 Thread Gökhan Sever
On Thu, Mar 18, 2010 at 6:21 PM, Andrew Hawryluk wrote: > I've observed a significant difference in the time required by different > plotting functions. With a plot of 5000 random data points (all > positive, non-zero), plt.semilogx takes 3.5 times as long as plt.plot. > (Data for the case of savi

[matplotlib-devel] performance (speed) of logarithmic plots

2010-03-18 Thread Andrew Hawryluk
I've observed a significant difference in the time required by different plotting functions. With a plot of 5000 random data points (all positive, non-zero), plt.semilogx takes 3.5 times as long as plt.plot. (Data for the case of saving to PDF, ratio changes to about 3.1 for PNG on my machine.) I