|
|
|
|
|
|
E***e 发帖数: 3430 | 1 短时间的简单运算,
都比3770慢,
怎么回事? | E***e 发帖数: 3430 | 2 4790k:
*****************************************
Addition test:
Armadillo runtime: 1.5911
Eigen3 runtime: 1.57519
*****************************************
Elementwise multiplication test:
Armadillo runtime: 1.53218
Eigen3 runtime: 1.50951
*****************************************
Elementwise exponential test:
Armadillo runtime: 13.2341
Eigen3 runtime: 3.33759
*****************************************
Elementwise natural log test:
Armadillo runtime: 26.9454
Eigen3 runtime: 26.8241
*****************************************
Elementwise logical (>=0) test:
Armadillo runtime: 0.653147
Eigen3 runtime: 0.47526
*****************************************
Elementwise square root test:
Armadillo runtime: 3.23101
Eigen3 runtime: 1.62268
*****************************************
Elementwise power (^0.5) test:
Armadillo runtime: 48.1053
Eigen3 runtime: 48.1819
*****************************************
Elementwise mult*sqrt test:
Armadillo runtime: 3.22582
Eigen3 runtime: 1.63757
*****************************************
Elementwise power (^1.5) test:
Armadillo runtime: 48.1853
Eigen3 runtime: 48.3314
*****************************************
Elementwise multiplication (square) test:
Armadillo runtime: 1.20362
Eigen3 runtime: 1.20645
*****************************************
Elementwise power (^2) test:
Armadillo runtime: 1.19789
Eigen3 runtime: 1.21546
***************************************** | E***e 发帖数: 3430 | 3 3770:
*****************************************
Addition test:
Armadillo runtime: 1.232
Eigen3 runtime: 1.118
*****************************************
Elementwise multiplication test:
Armadillo runtime: 1.18
Eigen3 runtime: 1.02
*****************************************
Elementwise exponential test:
Armadillo runtime: 43.946
Eigen3 runtime: 4.052
*****************************************
Elementwise natural log test:
Armadillo runtime: 26.597
Eigen3 runtime: 26.886
*****************************************
Elementwise logical (>=0) test:
Armadillo runtime: 0.859
Eigen3 runtime: 0.624
*****************************************
Elementwise square root test:
Armadillo runtime: 3.651
Eigen3 runtime: 1.829
*****************************************
Elementwise power (^0.5) test:
Armadillo runtime: 15.663
Eigen3 runtime: 15.648
*****************************************
Elementwise mult*sqrt test:
Armadillo runtime: 3.654
Eigen3 runtime: 1.841
*****************************************
Elementwise power (^1.5) test:
Armadillo runtime: 83.524
Eigen3 runtime: 84.024
*****************************************
Elementwise multiplication (square) test:
Armadillo runtime: 1.093
Eigen3 runtime: 1.015
*****************************************
Elementwise power (^2) test:
Armadillo runtime: 1
Eigen3 runtime: 1.014
***************************************** | c*m 发帖数: 1599 | 4 各有所长。
2700k某些方面都比4790k强呢。 |
|
|
|
|
|