Sorry, I didn't explain the benchmark (which was in an off-list e-mail
to Eric.) The "fps" value in these benchmarks is the frames-per-second
you get when updating the range of the axes (approximately what to
expect from an interactive pan/zoom operation). The "init" time is the
time it takes to compute the mesh in the first place and set up the
initial plotting state.
So, obviously, if you have a rectilinear mesh, you're much better off
using NonUniformImage rather than the more general mesh.
[Same results as before, copied for your convenience.]
Branch:
nonuniformimage:
init: 0.27
fps: 21.37
pcolormesh:
init: 0.42
fps: 2.61
Trunk:
nonuniformimage:
init: 0.25
fps: 22.52
pcolormesh:
init: 0.28
fps: 6.64
Cheers,
Mike
william ratcliff wrote:
> Michael,
>
> Have you looked at the speed of zooming in and out with pcolormesh?
>
> On Nov 9, 2007 3:33 PM, Michael Droettboom <[EMAIL PROTECTED]> wrote:
>> Darren Dale wrote:
>>> On Friday 09 November 2007 03:26:12 pm Michael Droettboom wrote:
>>>> Eric Firing wrote:
>>>>> Mike,
>>>>>
>>>>> Thank you for once again blasting out such an array of improvements.
>>>>> Regarding implementation and API details, such as what should go in
>>>>> imshow versus pcolor versus something with another name, I would like to
>>>>> review the situation (and your branch) and come up with a
>>>>> recommendation, but I can't do it immediately. I can have something
>>>>> waiting for you on Monday morning, however.
>>>> Hey, no rush. I understand not everyone has the luxury of hacking on
>>>> matplotlib full time.
>>> Do you get to hack mpl full-time? I'm jealous.
>> For the time being. And, yeah, I consider myself pretty fortunate. But
>> I'm sure those days are numbered -- there's a lot of other interesting
>> stuff needing to get done here... ;)
>>
>> Cheers,
>> Mike
>>
>> --
>> Michael Droettboom
>> Science Software Branch
>> Operations and Engineering Division
>> Space Telescope Science Institute
>> Operated by AURA for NASA
>>
>> -------------------------------------------------------------------------
>>
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems? Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >> http://get.splunk.com/
>> _______________________________________________
>> Matplotlib-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>>
--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel