[SciPy-dev] matlab io - request for testing

Antonio tritemio at gmail.com
Tue Feb 24 11:01:31 EST 2009


Antonio <tritemio <at> gmail.com> writes:

> *SCIPY 0.7.0 modified with blocksize=1M*

I swapped the headers cutting and pasting the benchmarks, sorry. The conclusions
do not change. This one is the new version SCIPY '0.8.0.dev5592 (not the 0.7.0)
 
> 4771 function calls (4768 primitive calls) in 1.318 CPU seconds
> 
>    Ordered by: internal time
>    List reduced from 49 to 3 due to restriction <3>
> 
>    ncalls  tottime  percall  cumtime  percall filename:lineno(function)
>       400    1.011    0.003    1.011    0.003 {built-in method decompress}
>        10    0.086    0.009    0.158    0.016
> /usr/lib/python2.5/StringIO.py:95(seek)
>         5    0.072    0.014    0.072    0.014 {method 'join' of 'str' objects}
> 

while

> *SCIPY '0.8.0.dev5592'*

the following refers to the old SCIPY 0.7.0
 
> 582 function calls (579 primitive calls) in 2.957 CPU seconds
> 
>    Ordered by: internal time
>    List reduced from 40 to 3 due to restriction <3>
> 
>    ncalls  tottime  percall  cumtime  percall filename:lineno(function)
>        27    1.823    0.068    2.846    0.105 gzipstreams.py:77(__fill)
>        52    0.963    0.019    0.963    0.019 {built-in method decompress}
>         9    0.065    0.007    0.065    0.007 {method 'copy' of 'numpy.ndarray'
> objects}
> 

As previously mentioned, the new version is faster.

   ~ Antonio




More information about the SciPy-Dev mailing list