Skip to content
b45ch1 edited this page Feb 7, 2012 · 25 revisions

Performance Comparison: PYADOLC (Python) vs ADOLC (pure C++)

You can run the test yourself. It is located in ./pyadolc/tests/speed_comparison_PyADOLC_ADOLC

---- adolc.out  -----

N=100 M=100


speelpenning:
Adolc	function taping:	........	elapsed time: 0.000058
Adolc	function evaluation:	0.000000	elapsed time: 0.000013
normal	function evaluation:	0.000000	elapsed time: 0.000001
jacobian evaluation:		........	elapsed time: 0.000035
gradient evaluation:		........	elapsed time: 0.000028


matrix vector multiplication:
Adolc	function taping:	........	elapsed time: 0.001564
Adolc	function evaluation:	1.051874	elapsed time: 0.000209
normal	function evaluation:	1.051874	elapsed time: 0.000199
jacobian evaluation:		........	elapsed time: 0.009419

---- pyadolc.out  -----

speelpenning:

PyADOLC	function taping:	........	elapsed time: 0.000535
Adolc	function evaluation:	0.000000	elapsed time: 0.000031
normal	function evaluation:	0.000000	elapsed time: 0.000026
gradient evaluation:		........	elapsed time: 0.000035
jacobian evaluation:		........	elapsed time: 0.000037


matrix vector multiplication:

PyADOLC	function taping:	........	elapsed time: 0.036444
Adolc	function evaluation:	1.051874	elapsed time: 0.000294
normal	function evaluation:	1.051874	elapsed time: 0.000034
jacobian evaluation:		........	elapsed time: 0.015260


Clone this wiki locally