Significant performance gains can be achieved by compiling gtsam with NDEBUG defined. This causes uBLAS to be optimized.

5x speedup on large factor graph, 10x speedup on smaller one.
release/4.3a0
Chris Beall 2009-12-11 04:47:52 +00:00
parent 4af2382105
commit b65b0c367e
1 changed files with 3 additions and 0 deletions

View File

@ -1 +1,4 @@
./configure --prefix=$HOME --with-toolbox=$HOME/toolbox/ --with-boost=/opt/local/include/
# for maximum performance on Intel Core2 platform:
# ./configure --prefix=$HOME --with-toolbox=$HOME/toolbox/ --with-boost=/opt/local/include/ CXXFLAGS="-O3 -march=nocona -mtune=generic -NDEBUG"