SciML / NonlinearSolve.jl

High-performance and differentiation-enabled nonlinear solvers (Newton methods), bracketed rootfinding (bisection, Falsi), with sparsity and Newton-Krylov support.
https://docs.sciml.ai/NonlinearSolve/stable/
MIT License
232 stars 40 forks source link

Code optimization documentation #416

Open jamblejoe opened 5 months ago

jamblejoe commented 5 months ago

In the documentation about code optimization there is a section about making code non-allocating when using Array (not SArray), click here. However I cannot spot any qualitative difference between the benchmark histograms:

grafik

grafik

ChrisRackauckas commented 5 months ago

It's shifted down a bit? This problem isn't the best one to show performance differences here, if it's made a bit larger it'll probably be a bit more clear, but it is different.