Closed avik-pal closed 5 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
e37a60a
) 27.90% compared to head (085ba9d
) 28.11%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
These EnumX to Symbol mappings do have some unnecessary overhead, let me track them down
julia> @btime solve(prob, $NewtonRaphson(; autodiff = AutoForwardDiff(; chunksize = 2)));
2.774 μs (46 allocations: 4.55 KiB)
julia> @btime solve(prob, $NewtonRaphson(; autodiff = AutoForwardDiff(; chunksize = 2), linsolve = \));
3.233 μs (49 allocations: 4.66 KiB)
julia> @btime solve(prob, $NewtonRaphson(; autodiff = AutoForwardDiff(; chunksize = 2), linsolve = GenericLUFactorization()));
2.620 μs (44 allocations: 4.23 KiB)
julia> @btime solve(prob, $NewtonRaphson(; autodiff = AutoForwardDiff(; chunksize = 2), linsolve = RFLUFactorization()));
2.607 μs (40 allocations: 3.91 KiB)
I don't seem to have caused the Enzyme failures
Testing https://github.com/SciML/SciMLBenchmarks.jl/pull/858