2008-01-05 18:57:14 +08:00
|
|
|
echo "Fixed size 3x3, ColumnMajor, -DNDEBUG"
|
2008-01-11 04:45:35 +08:00
|
|
|
g++ -O3 -I .. -DNDEBUG benchmark.cpp -o benchmark && time ./benchmark >/dev/null
|
2008-01-05 18:57:14 +08:00
|
|
|
echo "Fixed size 3x3, ColumnMajor, with asserts"
|
2008-01-11 04:45:35 +08:00
|
|
|
g++ -O3 -I .. benchmark.cpp -o benchmark && time ./benchmark >/dev/null
|
2008-01-05 18:57:14 +08:00
|
|
|
echo "Fixed size 3x3, RowMajor, -DNDEBUG"
|
2008-01-11 04:45:35 +08:00
|
|
|
g++ -O3 -I .. -DEIGEN_DEFAULT_TO_ROW_MAJOR -DNDEBUG benchmark.cpp -o benchmark && time ./benchmark >/dev/null
|
2008-01-05 18:57:14 +08:00
|
|
|
echo "Fixed size 3x3, RowMajor, with asserts"
|
2008-01-11 04:45:35 +08:00
|
|
|
g++ -O3 -I .. -DEIGEN_DEFAULT_TO_ROW_MAJOR benchmark.cpp -o benchmark && time ./benchmark >/dev/null
|
2008-01-05 18:57:14 +08:00
|
|
|
echo "Dynamic size 20x20, ColumnMajor, -DNDEBUG"
|
2008-01-11 04:45:35 +08:00
|
|
|
g++ -O3 -I .. -DNDEBUG benchmarkX.cpp -o benchmarkX && time ./benchmarkX >/dev/null
|
2008-01-05 18:57:14 +08:00
|
|
|
echo "Dynamic size 20x20, ColumnMajor, with asserts"
|
2008-01-11 04:45:35 +08:00
|
|
|
g++ -O3 -I .. benchmarkX.cpp -o benchmarkX && time ./benchmarkX >/dev/null
|
2008-01-05 18:57:14 +08:00
|
|
|
echo "Dynamic size 20x20, RowMajor, -DNDEBUG"
|
2008-01-11 04:45:35 +08:00
|
|
|
g++ -O3 -I .. -DEIGEN_DEFAULT_TO_ROW_MAJOR -DNDEBUG benchmarkX.cpp -o benchmarkX && time ./benchmarkX >/dev/null
|
2008-01-05 18:57:14 +08:00
|
|
|
echo "Dynamic size 20x20, RowMajor, with asserts"
|
2008-01-11 04:45:35 +08:00
|
|
|
g++ -O3 -I .. -DEIGEN_DEFAULT_TO_ROW_MAJOR benchmarkX.cpp -o benchmarkX && time ./benchmarkX >/dev/null
|