Mathematica 5.1在Suse Linux和Windows XP的性能比较
比较了一下Mathematica 5.1在Suse Linux和Windows XP下的性能,使用的是Mathematica自带的Benchmark[]函数。Benchmark Result是所得分数,越高越好,其它各项是所花时间,单位秒,越小越好。运行了好几次,发现相差不大。
测试参数 |
Windows XP SP2 | Suse Linux 10.1 |
Benchmark Result | 0.974 | 0.926 |
Total Time | 69.977 | 73.704 |
Data Fitting | 6.5 | 7.452 |
Digits of Pi | 2.437 | 2.428 |
Discrete Fourier Transform | 7.047 | 6.808 |
Eigenvalues of a Matrix | 6.968 | 7.096 |
Gamma Function | 2.265 | 2.296 |
Large Integer Multiplication | 3.03 | 3.132 |
Matrix Determinant | 13.734 | 14.032 |
Matrix Multiplication | 4.265 | 4.636 |
Matrix Transpose | 5.921 | 7.18 |
Numerical Integration | 5.811 | 5.828 |
Polynomial Expansion | 6.953 | 7.04 |
Random Number Sort | 5.046 | 5.776 |
发现Windows略好一点。Linux除了算π和分立 Fourier 变换以外都比Windows慢,令我有点失望。
另:后来又用Ubuntu 6.06在同样的机器上测试,分数0.935,比Suse Linux强一点点,但还是比XP差。
发表评论
| Trackback