Prev Next

The CppAD Speed Tests

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).

Speed
To run these tests, you must include the --with-Speed command line option during the install configure command. After the Unix install make command, you can then run the CppAD speed tests with the following commands (relative to the distribution directory):
 
	speed/cppad/cppad correct
This will check that the speed tests have been built correctly. You can run the command
 
	speed/cppad/cppad all
to see the results of all the speed tests. See speed_main for more options.

Contents
CppAD Speed: Gradient of Determinant Using Expansion by Minors
CppAD Speed: Gradient of Determinant Using Lu Factorization
CppAD Speed: Second Derivative of a Polynomial

Input File: omh/speed_cppad.omh