Matlab 2009a
May 29th, 2009
While Matlab, regardless of version, may be very slow on the Mac, the new version (which claims to be more Mac friendly) indeed has a small, but noticeable increase in performance.
Note: These values were generated on different processors and no attempt was made to see which one was ultimately faster. The idea was to see how, independently, each environment performed under complex matrix operations. All values are in seconds and averaged over 100 iterations.
Addition
| MxM | Matlab 2009a (Mac) | Matlab 2008b (Mac) | Matlab 2008b (Linux) |
|---|---|---|---|
| 121 | .05 | .15 | .015 |
| 961 | .37 | 2.21 | .22 |
Multiplication
| MxM | Matlab 2009a (Mac) | Matlab 2008b (Mac) | Matlab 2008b (Linux) |
|---|---|---|---|
| 121 | .06 | .47 | .061 |
| 961 | 2.14 | 12.19 | 2.49 |
QR
| MxM | Matlab 2009a (Mac) | Matlab 2008b (Mac) | Matlab 2008b (Linux) |
|---|---|---|---|
| 121 | .12 | .57 | .07 |
| 961 | 2.53 | 12.19 | 2.49 |
As you can see, the Mac version is finally starting to get numbers closer to that of Linux and Windows. With a better GUI (Cocoa based) I will finally stop writing C++ code for good.
Category: Programming
Comments
No comments yet.