Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Home

b45ch1 edited this page · 25 revisions
Clone this wiki locally

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


Something went wrong with that request. Please try again.