1/* -------------------------------------------------------------------------- 2CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-20 Bradley M. Bell 3 4 CppAD is distributed under the terms of the 5 Eclipse Public License Version 2.0. 6 7 This Source Code may also be made available under the following 8 Secondary License when the conditions for such availability set forth 9 in the Eclipse Public License, Version 2.0 are satisfied: 10 GNU General Public License, Version 2.0 or later. 11-------------------------------------------------------------------------- */ 12 13$begin speed_fadbad$$ 14$spell 15 cmake 16 FadbadDir 17 CppAD 18 Cygwin 19$$ 20 21 22$section Speed Test Derivatives Using Fadbad$$ 23 24$head Purpose$$ 25CppAD has a set of speed tests that are used to compare 26Fadbad with other AD packages. 27This section links to the source code the Fadbad speed tests 28(any suggestions to make the Fadbad results faster are welcome). 29 30$head fadbad_prefix$$ 31To run these tests, 32you must include the $cref fadbad_prefix$$ 33in you $cref/cmake command/cmake/CMake Command/$$. 34 35 36$head Running Tests$$ 37To build these speed tests, and run their correctness tests, 38execute the following commands starting in the 39$cref/build directory/cmake/Build Directory/$$: 40$codei% 41 cd speed/fadbad 42 make check_speed_fadbad VERBOSE=1 43%$$ 44You can then run the corresponding speed tests 45with the following command 46$codei% 47 ./speed_fadbad speed %seed% 48%$$ 49where $icode seed$$ is a positive integer. 50See $cref speed_main$$ for more options. 51 52$contents% 53 speed/fadbad/det_minor.cpp% 54 speed/fadbad/det_lu.cpp% 55 speed/fadbad/mat_mul.cpp% 56 speed/fadbad/ode.cpp% 57 speed/fadbad/poly.cpp% 58 speed/fadbad/sparse_hessian.cpp% 59 speed/fadbad/sparse_jacobian.cpp 60%$$ 61 62$end 63