speed

Speed Test an Operator Overloading AD Package

Purpose

Cppad has a set of speed tests that are used to determine if changes improve its execution speed. These tests can also be used to compare the AD packages Adolc , Cppad, Fadbad , Cppadcg , Sacado .

debug_which

Usually, one wants to compile the speed tests in release mode. This can be done by setting cppad_debug_which to debug_none in the cmake command. Correctness tests are included for all the speed tests, so it is possible you will want to compile these tests for debugging; i.e., set cppad_debug_which to debug_all .

The sections below explain how you can run these tests on your computer.

Contents

Name

Title

speed_main

Running the Speed Test Program

speed_utility

Speed Testing Utilities

speed_double

Speed Test of Functions in Double

speed_adolc

Speed Test of Derivatives Using Adolc

speed_cppad

Speed Test Derivatives Using CppAD

speed_fadbad

Speed Test Derivatives Using Fadbad

speed_cppad_jit

Speed Test Derivatives Using cppad_jit

speed_cppadcg

Speed Test Derivatives Using Cppadcg

speed_sacado

Speed Test Derivatives Using Sacado

speed_xpackage

Speed Test Example and Template for a New Package