$Id: speed_cppad.omh 3308 2014-05-26 14:29:01Z bradbell $ /* -------------------------------------------------------------------------- CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-14 Bradley M. Bell CppAD is distributed under multiple licenses. This distribution is under the terms of the Eclipse Public License Version 1.0. A copy of this license is included in the COPYING file of this distribution. Please visit http://www.coin-or.org/CppAD/ for information on other licenses. -------------------------------------------------------------------------- */ $begin speed_cppad$$ $spell cmake cppad CppAD Cygwin Microsoft chdir Workspace dsw exe sln $$ $index speed, test cppad$$ $index test, cppad speed$$ $index cppad, speed test$$ $section Speed Test Derivatives Using CppAD$$ $head Purpose$$ CppAD has a set of speed tests that are used to determine if certain changes improve its execution speed (and to compare CppAD with other AD packages). This section links to the source code the CppAD speed tests (any suggestions to make the CppAD results faster are welcome). $head Running Tests$$ To build these speed tests, and run their correctness tests, execute the following commands starting in the $cref/build directory/cmake/CMake Command/Build Directory/$$: $codei% cd speed/cppad make check_speed_cppad VERBOSE=1 %$$ You can then run the corresponding speed tests with the following command $codei% ./speed_cppad speed %seed% %$$ where $icode seed$$ is a positive integer. See $cref speed_main$$ for more options. $contents% speed/cppad/det_minor.cpp% speed/cppad/det_lu.cpp% speed/cppad/mat_mul.cpp% speed/cppad/ode.cpp% speed/cppad/poly.cpp% speed/cppad/sparse_hessian.cpp% speed/cppad/sparse_jacobian.cpp %$$ $end