[SciPy-dev] Linalg2 benchmarks

Travis Oliphant oliphant.travis at ieee.org
Thu Apr 4 00:05:30 CST 2002


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



More information about the Scipy-dev mailing list