[SciPy-dev] Linalg2 benchmarks

eric eric at scipy.org
Thu Apr 4 23:00:55 CST 2002


W2K, 850MHz PII laptop.  Interesting to see that the 1.1 GHz Athlon is a factor
of 2 faster.

           Finding matrix determinant
      ==================================
      |    contiguous     |   non-contiguous
----------------------------------------------
 size |  scipy  | Numeric |  scipy  | Numeric
   20 |   0.30  |   0.56  |   0.30  |   0.63     (secs for 2000 calls)
  100 |   0.72  |   2.59  |   0.74  |   2.78     (secs for 300 calls)
  500 |   1.06  |   3.77  |   0.98  |   3.93     (secs for 4 calls)
.
      Solving system of linear equations
      ==================================
      |    contiguous     |   non-contiguous
----------------------------------------------
 size |  scipy  | Numeric |  scipy  | Numeric
   20 |   0.50  |   0.47  |   0.48  |   0.53     (secs for 2000 calls)
  100 |   0.89  |   2.45  |   0.82  |   2.69     (secs for 300 calls)
  500 |   1.11  |   3.67  |   0.95  |   3.85     (secs for 4 calls)
.
           Finding matrix inverse
      ==================================
      |    contiguous     |   non-contiguous
----------------------------------------------
 size |  scipy  | Numeric |  scipy  | Numeric
   20 |   0.65  |   1.04  |   0.67  |   1.11     (secs for 2000 calls)
  100 |   2.16  |   8.38  |   2.13  |   8.61     (secs for 300 calls)
  500 |   2.62  |  22.03  |   2.60  |  22.29     (secs for 4 calls)


----- Original Message -----
From: "Travis Oliphant" <oliphant.travis at ieee.org>
To: <scipy-dev at scipy.org>
Sent: Thursday, April 04, 2002 1:05 AM
Subject: [SciPy-dev] Linalg2 benchmarks


>
> Thanks to Pearu for these benchmarks.
>
> I just ran some linalg2 benchmarks on my ATHLON 1.1 GHz processor (gcc-2.96,
> Mandrake -8.2).  It would be interesting to see what others are getting.
>
> >>> linalg2.basic.test()
> ......................EEEEEEEEEE
>            Finding matrix determinant
>       ==================================
>       |    contiguous     |   non-contiguous
> ----------------------------------------------
>  size |  scipy  | Numeric |  scipy  | Numeric
>    20 |   0.26  |   0.50  |   0.25  |   0.58     (secs for 2000 calls)
>   100 |   0.45  |   2.01  |   0.43  |   2.30     (secs for 300 calls)
>   500 |   0.50  |   2.92  |   0.48  |   3.06     (secs for 4 calls)
> .
>       Solving system of linear equations
>       ==================================
>       |    contiguous     |   non-contiguous
> ----------------------------------------------
>  size |  scipy  | Numeric |  scipy  | Numeric
>    20 |   0.40  |   0.43  |   0.40  |   0.50     (secs for 2000 calls)
>   100 |   0.50  |   1.79  |   0.51  |   2.25     (secs for 300 calls)
>   500 |   0.49  |   2.98  |   0.48  |   3.15     (secs for 4 calls)
> .
>            Finding matrix inverse
>       ==================================
>       |    contiguous     |   non-contiguous
> ----------------------------------------------
>  size |  scipy  | Numeric |  scipy  | Numeric
>    20 |   0.52  |   0.89  |   0.51  |   0.96     (secs for 2000 calls)
>   100 |   1.18  |   5.73  |   1.18  |   6.01     (secs for 300 calls)
>   500 |   1.31  |  15.34  |   1.30  |  15.82     (secs for 4 calls)
> .
>
> Look at that speed up....  fantastic.
>
> -Travis
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-dev
>





More information about the Scipy-dev mailing list