Benchmark of LowLevelCallable for ODE IVP#

Definition of benchmarked integrands

all_funs_vect = {
    'mul_py_fun_array' : test_from_fun(mul_py_fun_array),
    'mul_nb_fun_inplace_pointer' : test_from_fun(mul_nb_fun_inplace_pointer),
    'py_fun_in_pyx' : test_from_fun(choreo.scipy_plus.cython.test.mul_py_fun_tx) ,
    'cy_fun_pointer_LowLevel' : test_from_fun(scipy.LowLevelCallable.from_cython(choreo.scipy_plus.cython.test, "mul_cy_fun_pointer_tx")),
    'cy_fun_memoryview_LowLevel' : test_from_fun(scipy.LowLevelCallable.from_cython(choreo.scipy_plus.cython.test, "mul_cy_fun_memoryview_tx")),
}

all_benchs = {
    f'Vector function of size {choreo.scipy_plus.cython.test.mul_size_py}' : all_funs_vect  ,
}
Vector function of size 10

Total running time of the script: (0 minutes 0.691 seconds)

Gallery generated by Sphinx-Gallery