diff options
author | 2008-01-05 10:57:14 +0000 | |
---|---|---|
committer | 2008-01-05 10:57:14 +0000 | |
commit | d1d55e67e967a9bd0d447a7ea105ac2771cde557 (patch) | |
tree | 53e40f4b87664c47c67f0394bc617999ad64ecf3 /doc/benchmark_suite | |
parent | 23ffede3d0d280962bad418a41957cf82e3fadc9 (diff) |
- make MatrixBase and all expressions aware of their preferred traversal order.
Honor this preference in operator=.
- add several methods to the API
- rework API for diagonal matrices
- add benchmarking code
Diffstat (limited to 'doc/benchmark_suite')
-rwxr-xr-x | doc/benchmark_suite | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/benchmark_suite b/doc/benchmark_suite new file mode 100755 index 000000000..b75a8df67 --- /dev/null +++ b/doc/benchmark_suite @@ -0,0 +1,16 @@ +echo "Fixed size 3x3, ColumnMajor, -DNDEBUG" +g++ -O3 -I .. -DEIGEN_DEFAULT_MATRIX_STORAGE_ORDER=ColumnMajor -DNDEBUG benchmark.cpp -o benchmark && time ./benchmark >/dev/null +echo "Fixed size 3x3, ColumnMajor, with asserts" +g++ -O3 -I .. -DEIGEN_DEFAULT_MATRIX_STORAGE_ORDER=ColumnMajor benchmark.cpp -o benchmark && time ./benchmark >/dev/null +echo "Fixed size 3x3, RowMajor, -DNDEBUG" +g++ -O3 -I .. -DEIGEN_DEFAULT_MATRIX_STORAGE_ORDER=RowMajor -DNDEBUG benchmark.cpp -o benchmark && time ./benchmark >/dev/null +echo "Fixed size 3x3, RowMajor, with asserts" +g++ -O3 -I .. -DEIGEN_DEFAULT_MATRIX_STORAGE_ORDER=RowMajor benchmark.cpp -o benchmark && time ./benchmark >/dev/null +echo "Dynamic size 20x20, ColumnMajor, -DNDEBUG" +g++ -O3 -I .. -DEIGEN_DEFAULT_MATRIX_STORAGE_ORDER=ColumnMajor -DNDEBUG benchmarkX.cpp -o benchmarkX && time ./benchmarkX >/dev/null +echo "Dynamic size 20x20, ColumnMajor, with asserts" +g++ -O3 -I .. -DEIGEN_DEFAULT_MATRIX_STORAGE_ORDER=ColumnMajor benchmarkX.cpp -o benchmarkX && time ./benchmarkX >/dev/null +echo "Dynamic size 20x20, RowMajor, -DNDEBUG" +g++ -O3 -I .. -DEIGEN_DEFAULT_MATRIX_STORAGE_ORDER=RowMajor -DNDEBUG benchmarkX.cpp -o benchmarkX && time ./benchmarkX >/dev/null +echo "Dynamic size 20x20, RowMajor, with asserts" +g++ -O3 -I .. -DEIGEN_DEFAULT_MATRIX_STORAGE_ORDER=RowMajor benchmarkX.cpp -o benchmarkX && time ./benchmarkX >/dev/null |