[SciPy-dev] matlab io - request for testing

Matthew Brett matthew.brett@gmail....
Sat Feb 21 02:25:04 CST 2009


Hi,

On Fri, Feb 20, 2009 at 11:58 PM, Matthew Brett <matthew.brett@gmail.com> wrote:
> Hi,
>
>> I finally got a chance to test with my nasty file, and with r5561, it
>> now takes ~32 minutes of cpu time to load (as compared to ~5 minutes
>> for 0.7.0, and 3 seconds for 0.6.0). All the time is in
>> zlibstreams.py:read.

Actually, thinking about it, I wonder if it's the string slicing in
getting the data out of zlibstream that is taking the time.  I suppose
that might happen if you have lots of tiny matrices in there.  Could
you try:

import scipy.io.matlab as matlab
matlab.bench()

What kind of numbers do you get?

Best,

Matthew


More information about the Scipy-dev mailing list