Skip to content

Commit 77aae93

Browse files
committed
chore: update the last benchmarks
1 parent c8cb9fe commit 77aae93

File tree

3 files changed

+79
-76
lines changed

3 files changed

+79
-76
lines changed

benchmarks/NonlinearProblem/Manifest.toml

Lines changed: 43 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,12 @@ git-tree-sha1 = "e81c509d2c8e49592413bfb0bb3b08150056c79d"
9999
uuid = "27a7e980-b3e6-11e9-2bcd-0b925532e340"
100100
version = "0.4.1"
101101

102+
[[deps.Aqua]]
103+
deps = ["Compat", "Pkg", "Test"]
104+
git-tree-sha1 = "49b1d7a9870c87ba13dc63f8ccfcf578cb266f95"
105+
uuid = "4c88cf16-eb10-579e-8560-4a9242c79595"
106+
version = "0.8.9"
107+
102108
[[deps.ArgTools]]
103109
uuid = "0dad84c5-d112-42e6-8d28-ef12dabb789f"
104110
version = "1.1.1"
@@ -111,15 +117,16 @@ version = "0.4.0"
111117

112118
[[deps.ArrayInterface]]
113119
deps = ["Adapt", "LinearAlgebra"]
114-
git-tree-sha1 = "3640d077b6dafd64ceb8fd5c1ec76f7ca53bcf76"
120+
git-tree-sha1 = "d60a1922358aa203019b7857a2c8c37329b8736c"
115121
uuid = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
116-
version = "7.16.0"
122+
version = "7.17.0"
117123

118124
[deps.ArrayInterface.extensions]
119125
ArrayInterfaceBandedMatricesExt = "BandedMatrices"
120126
ArrayInterfaceBlockBandedMatricesExt = "BlockBandedMatrices"
121127
ArrayInterfaceCUDAExt = "CUDA"
122128
ArrayInterfaceCUDSSExt = "CUDSS"
129+
ArrayInterfaceChainRulesCoreExt = "ChainRulesCore"
123130
ArrayInterfaceChainRulesExt = "ChainRules"
124131
ArrayInterfaceGPUArraysCoreExt = "GPUArraysCore"
125132
ArrayInterfaceReverseDiffExt = "ReverseDiff"
@@ -133,6 +140,7 @@ version = "7.16.0"
133140
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
134141
CUDSS = "45b445bb-4962-46a0-9369-b4df9d0f772e"
135142
ChainRules = "082447d4-558c-5d27-93f4-14fc19e9eca2"
143+
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
136144
GPUArraysCore = "46192b85-c4d5-4398-a991-12ede77f4527"
137145
ReverseDiff = "37e2e3b7-166d-5795-8a7a-e32c996b4267"
138146
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
@@ -195,6 +203,18 @@ git-tree-sha1 = "f21cfd4950cb9f0587d5067e69405ad2acd27b87"
195203
uuid = "62783981-4cbd-42fc-bca8-16325de8dc4b"
196204
version = "0.1.6"
197205

206+
[[deps.BlockArrays]]
207+
deps = ["ArrayLayouts", "FillArrays", "LinearAlgebra"]
208+
git-tree-sha1 = "d434647f798823bcae510aee0bc0401927f64391"
209+
uuid = "8e7c35d0-a365-5155-bbbb-fb81a777f24e"
210+
version = "1.1.1"
211+
212+
[deps.BlockArrays.extensions]
213+
BlockArraysBandedMatricesExt = "BandedMatrices"
214+
215+
[deps.BlockArrays.weakdeps]
216+
BandedMatrices = "aae01518-5342-5314-be14-df237901396f"
217+
198218
[[deps.BracketingNonlinearSolve]]
199219
deps = ["CommonSolve", "ConcreteStructs", "NonlinearSolveBase", "PrecompileTools", "Reexport", "SciMLBase"]
200220
git-tree-sha1 = "95cb19c37ea427617e9795655667712f03058d98"
@@ -284,9 +304,9 @@ version = "0.4.0"
284304

285305
[[deps.ColorSchemes]]
286306
deps = ["ColorTypes", "ColorVectorSpace", "Colors", "FixedPointNumbers", "PrecompileTools", "Random"]
287-
git-tree-sha1 = "13951eb68769ad1cd460cdb2e64e5e95f1bf123d"
307+
git-tree-sha1 = "c785dfb1b3bfddd1da557e861b919819b82bbe5b"
288308
uuid = "35d6a980-a343-548e-a6ea-1d62b119f2f4"
289-
version = "3.27.0"
309+
version = "3.27.1"
290310

291311
[[deps.ColorTypes]]
292312
deps = ["FixedPointNumbers", "Random"]
@@ -507,9 +527,9 @@ version = "1.15.1"
507527

508528
[[deps.DifferentiationInterface]]
509529
deps = ["ADTypes", "LinearAlgebra"]
510-
git-tree-sha1 = "ba137efeddd4b6e6a7154f2a92d2922a0057486f"
530+
git-tree-sha1 = "0c99576d0b93df0aff1bed9d9adddef14e4e658f"
511531
uuid = "a0c0ee7d-e4b9-4e03-894e-1c5f64a51d63"
512-
version = "0.6.21"
532+
version = "0.6.22"
513533

514534
[deps.DifferentiationInterface.extensions]
515535
DifferentiationInterfaceChainRulesCoreExt = "ChainRulesCore"
@@ -807,9 +827,9 @@ version = "1.3.7"
807827

808828
[[deps.ForwardDiff]]
809829
deps = ["CommonSubexpressions", "DiffResults", "DiffRules", "LinearAlgebra", "LogExpFunctions", "NaNMath", "Preferences", "Printf", "Random", "SpecialFunctions"]
810-
git-tree-sha1 = "a9ce73d3c827adab2d70bf168aaece8cce196898"
830+
git-tree-sha1 = "a2df1b776752e3f344e5116c06d75a10436ab853"
811831
uuid = "f6369f11-7733-5829-9624-2563aa707210"
812-
version = "0.10.37"
832+
version = "0.10.38"
813833
weakdeps = ["StaticArrays"]
814834

815835
[deps.ForwardDiff.extensions]
@@ -962,9 +982,9 @@ version = "0.10.2+0"
962982

963983
[[deps.HTTP]]
964984
deps = ["Base64", "CodecZlib", "ConcurrentUtilities", "Dates", "ExceptionUnwrapping", "Logging", "LoggingExtras", "MbedTLS", "NetworkOptions", "OpenSSL", "Random", "SimpleBufferStream", "Sockets", "URIs", "UUIDs"]
965-
git-tree-sha1 = "bc3f416a965ae61968c20d0ad867556367f2817d"
985+
git-tree-sha1 = "1336e07ba2eb75614c99496501a8f4b233e9fafe"
966986
uuid = "cd3eb016-35fb-5094-929b-558a96fad6f3"
967-
version = "1.10.9"
987+
version = "1.10.10"
968988

969989
[[deps.HarfBuzz_jll]]
970990
deps = ["Artifacts", "Cairo_jll", "Fontconfig_jll", "FreeType2_jll", "Glib_jll", "Graphite2_jll", "JLLWrappers", "Libdl", "Libffi_jll"]
@@ -992,9 +1012,9 @@ version = "2.11.2+1"
9921012

9931013
[[deps.HypergeometricFunctions]]
9941014
deps = ["LinearAlgebra", "OpenLibm_jll", "SpecialFunctions"]
995-
git-tree-sha1 = "7c4195be1649ae622304031ed46a2f4df989f1eb"
1015+
git-tree-sha1 = "b1c2585431c382e3fe5805874bda6aea90a95de9"
9961016
uuid = "34004b35-14d8-5ef3-9330-4cdb6864b03a"
997-
version = "0.3.24"
1017+
version = "0.3.25"
9981018

9991019
[[deps.IJulia]]
10001020
deps = ["Base64", "Conda", "Dates", "InteractiveUtils", "JSON", "Libdl", "Logging", "Markdown", "MbedTLS", "Pkg", "Printf", "REPL", "Random", "SoftGlobalScope", "Test", "UUIDs", "ZMQ"]
@@ -1026,10 +1046,10 @@ uuid = "c817782e-172a-44cc-b673-b171935fbb9e"
10261046
version = "0.1.7"
10271047

10281048
[[deps.ImageCore]]
1029-
deps = ["ColorVectorSpace", "Colors", "FixedPointNumbers", "MappedArrays", "MosaicViews", "OffsetArrays", "PaddedViews", "PrecompileTools", "Reexport"]
1030-
git-tree-sha1 = "b219503865f42a12ad20ea67082e0fdb69b73ad9"
1049+
deps = ["Aqua", "BlockArrays", "ColorVectorSpace", "Colors", "FixedPointNumbers", "MappedArrays", "MosaicViews", "OffsetArrays", "PaddedViews", "PrecompileTools", "Reexport"]
1050+
git-tree-sha1 = "661ca04f8df633e8a021c55a22e96cf820220ede"
10311051
uuid = "a09fc81d-aa75-5fe9-8630-4744c3626534"
1032-
version = "0.10.3"
1052+
version = "0.10.4"
10331053

10341054
[[deps.ImageIO]]
10351055
deps = ["FileIO", "IndirectArrays", "JpegTurbo", "LazyModules", "Netpbm", "OpenEXR", "PNGFiles", "QOI", "Sixel", "TiffImages", "UUIDs", "WebP"]
@@ -2175,9 +2195,9 @@ version = "0.7.0"
21752195

21762196
[[deps.SIMD]]
21772197
deps = ["PrecompileTools"]
2178-
git-tree-sha1 = "98ca7c29edd6fc79cd74c61accb7010a4e7aee33"
2198+
git-tree-sha1 = "52af86e35dd1b177d051b12681e1c581f53c281b"
21792199
uuid = "fdea26ae-647d-5447-a871-4b548cad5224"
2180-
version = "3.6.0"
2200+
version = "3.7.0"
21812201

21822202
[[deps.SIMDTypes]]
21832203
git-tree-sha1 = "330289636fb8107c5f32088d2741e9fd7a061a5c"
@@ -2198,9 +2218,9 @@ version = "0.2.0"
21982218

21992219
[[deps.SciMLBase]]
22002220
deps = ["ADTypes", "Accessors", "ArrayInterface", "CommonSolve", "ConstructionBase", "Distributed", "DocStringExtensions", "EnumX", "Expronicon", "FunctionWrappersWrappers", "IteratorInterfaceExtensions", "LinearAlgebra", "Logging", "Markdown", "PrecompileTools", "Preferences", "Printf", "RecipesBase", "RecursiveArrayTools", "Reexport", "RuntimeGeneratedFunctions", "SciMLOperators", "SciMLStructures", "StaticArraysCore", "Statistics", "SymbolicIndexingInterface"]
2201-
git-tree-sha1 = "f102316e5c958b425ef530ee51c7c8a1def55d1f"
2221+
git-tree-sha1 = "7527b9adb22904f0f51d8ab85d826f81ebb6f78d"
22022222
uuid = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
2203-
version = "2.58.1"
2223+
version = "2.59.2"
22042224

22052225
[deps.SciMLBase.extensions]
22062226
SciMLBaseChainRulesCoreExt = "ChainRulesCore"
@@ -2384,9 +2404,9 @@ version = "2.23.0"
23842404

23852405
[[deps.SparseMatrixColorings]]
23862406
deps = ["ADTypes", "DataStructures", "DocStringExtensions", "LinearAlgebra", "Random", "SparseArrays"]
2387-
git-tree-sha1 = "f37f046636f8dc353a39279abfefe296db212171"
2407+
git-tree-sha1 = "670f2c8109e87d79788baef47880b946e529f1a2"
23882408
uuid = "0a514795-09f3-496d-8182-132a7b665d35"
2389-
version = "0.4.8"
2409+
version = "0.4.9"
23902410
weakdeps = ["Colors"]
23912411

23922412
[deps.SparseMatrixColorings.extensions]
@@ -2534,9 +2554,9 @@ version = "7.2.1+1"
25342554

25352555
[[deps.Sundials]]
25362556
deps = ["CEnum", "DataStructures", "DiffEqBase", "Libdl", "LinearAlgebra", "Logging", "PrecompileTools", "Reexport", "SciMLBase", "SparseArrays", "Sundials_jll"]
2537-
git-tree-sha1 = "e87efb31e5360cb223a151c2398903dc2faeb32b"
2557+
git-tree-sha1 = "56661ac133ea6df96fea8d6bb4eb18875b002206"
25382558
uuid = "c3572dad-4567-51f8-b174-8c6c989267f4"
2539-
version = "4.26.0"
2559+
version = "4.26.1"
25402560

25412561
[[deps.Sundials_jll]]
25422562
deps = ["Artifacts", "CompilerSupportLibraries_jll", "JLLWrappers", "Libdl", "SuiteSparse_jll", "libblastrampoline_jll"]

benchmarks/NonlinearProblem/nonlinear_battery_problem.jmd

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,31 +31,29 @@ const RUS = RadiusUpdateSchemes;
3131
Declare the benchmarked solvers (and their names and plotting options).
3232

3333
```julia
34-
DEFAULT_FORWARD_AD = AutoForwardDiff(; chunksize = 12)
35-
3634
HagerZhang() = LineSearchesJL(; method = LineSearches.HagerZhang())
3735
MoreThuente() = LineSearchesJL(; method = LineSearches.MoreThuente())
3836

3937
# XXX: Add PETSc
4038
solvers_all = [
41-
(; pkg = :nonlinearsolve, name = "Default PolyAlgorithm", solver = Dict(:alg => FastShortcutNonlinearPolyalg(; autodiff = DEFAULT_FORWARD_AD))),
42-
(; pkg = :nonlinearsolve, name = "Newton Raphson", solver = Dict(:alg => NewtonRaphson(; autodiff = DEFAULT_FORWARD_AD))),
39+
(; pkg = :nonlinearsolve, name = "Default PolyAlgorithm", solver = Dict(:alg => FastShortcutNonlinearPolyalg())),
40+
(; pkg = :nonlinearsolve, name = "Newton Raphson", solver = Dict(:alg => NewtonRaphson())),
4341
(; pkg = :nonlinearsolve, name = "Newton Raphson (HagerZhang LineSearch)", solver = Dict(:alg => NewtonRaphson(; linesearch = HagerZhang()))),
4442
(; pkg = :nonlinearsolve, name = "Newton Raphson (MoreThuente LineSearch)", solver = Dict(:alg => NewtonRaphson(; linesearch = MoreThuente()))),
4543
(; pkg = :nonlinearsolve, name = "Newton Raphson (BackTracking LineSearch)", solver = Dict(:alg => NewtonRaphson(; linesearch = BackTracking()))),
4644
(; pkg = :nonlinearsolve, name = "Newton Krylov with GMRES", solver = Dict(:alg => NewtonRaphson(; linsolve = KrylovJL_GMRES()))),
4745
(; pkg = :nonlinearsolve, name = "DFSane", solver = Dict(:alg => DFSane())),
4846
(; pkg = :nonlinearsolve, name = "Trust Region", solver = Dict(:alg => TrustRegion())),
49-
(; pkg = :nonlinearsolve, name = "Trust Region (NLsolve Update)", solver = Dict(:alg => TrustRegion(; autodiff = DEFAULT_FORWARD_AD, radius_update_scheme = RUS.NLsolve))),
50-
(; pkg = :nonlinearsolve, name = "Trust Region (Nocedal Wright)", solver = Dict(:alg => TrustRegion(; autodiff = DEFAULT_FORWARD_AD, radius_update_scheme = RUS.NocedalWright))),
51-
(; pkg = :nonlinearsolve, name = "Trust Region (Hei)", solver = Dict(:alg => TrustRegion(; autodiff = DEFAULT_FORWARD_AD, radius_update_scheme = RUS.Hei))),
52-
(; pkg = :nonlinearsolve, name = "Trust Region (Yuan)", solver = Dict(:alg => TrustRegion(; autodiff = DEFAULT_FORWARD_AD, radius_update_scheme = RUS.Yuan))),
53-
(; pkg = :nonlinearsolve, name = "Trust Region (Bastin)", solver = Dict(:alg => TrustRegion(; autodiff = DEFAULT_FORWARD_AD, radius_update_scheme = RUS.Bastin))),
54-
(; pkg = :nonlinearsolve, name = "Trust Region (Fan)", solver = Dict(:alg => TrustRegion(; autodiff = DEFAULT_FORWARD_AD, radius_update_scheme = RUS.Fan))),
55-
(; pkg = :nonlinearsolve, name = "Levenberg-Marquardt", solver = Dict(:alg => LevenbergMarquardt(; autodiff = DEFAULT_FORWARD_AD))),
56-
(; pkg = :nonlinearsolve, name = "Levenberg-Marquardt with Cholesky", solver = Dict(:alg => LevenbergMarquardt(; autodiff = DEFAULT_FORWARD_AD, linsolve = CholeskyFactorization()))),
57-
(; pkg = :nonlinearsolve, name = "Levenberg-Marquardt (No Geodesic Accln.)", solver = Dict(:alg => LevenbergMarquardt(; disable_geodesic = Val(true), autodiff = DEFAULT_FORWARD_AD))),
58-
(; pkg = :nonlinearsolve, name = "Levenberg-Marquardt (No Geodesic Accln.) with Cholesky", solver = Dict(:alg => LevenbergMarquardt(; disable_geodesic = Val(true), autodiff = DEFAULT_FORWARD_AD, linsolve = CholeskyFactorization()))),
47+
(; pkg = :nonlinearsolve, name = "Trust Region (NLsolve Update)", solver = Dict(:alg => TrustRegion(; radius_update_scheme = RUS.NLsolve))),
48+
(; pkg = :nonlinearsolve, name = "Trust Region (Nocedal Wright)", solver = Dict(:alg => TrustRegion(; radius_update_scheme = RUS.NocedalWright))),
49+
(; pkg = :nonlinearsolve, name = "Trust Region (Hei)", solver = Dict(:alg => TrustRegion(; radius_update_scheme = RUS.Hei))),
50+
(; pkg = :nonlinearsolve, name = "Trust Region (Yuan)", solver = Dict(:alg => TrustRegion(; radius_update_scheme = RUS.Yuan))),
51+
(; pkg = :nonlinearsolve, name = "Trust Region (Bastin)", solver = Dict(:alg => TrustRegion(; radius_update_scheme = RUS.Bastin))),
52+
(; pkg = :nonlinearsolve, name = "Trust Region (Fan)", solver = Dict(:alg => TrustRegion(; radius_update_scheme = RUS.Fan))),
53+
(; pkg = :nonlinearsolve, name = "Levenberg-Marquardt", solver = Dict(:alg => LevenbergMarquardt())),
54+
(; pkg = :nonlinearsolve, name = "Levenberg-Marquardt with Cholesky", solver = Dict(:alg => LevenbergMarquardt(; linsolve = CholeskyFactorization()))),
55+
(; pkg = :nonlinearsolve, name = "Levenberg-Marquardt (No Geodesic Accln.)", solver = Dict(:alg => LevenbergMarquardt(; disable_geodesic = Val(true)))),
56+
(; pkg = :nonlinearsolve, name = "Levenberg-Marquardt (No Geodesic Accln.) with Cholesky", solver = Dict(:alg => LevenbergMarquardt(; disable_geodesic = Val(true), linsolve = CholeskyFactorization()))),
5957
(; pkg = :wrapper, name = "Modified Powell [MINPACK]", solver = Dict(:alg => CMINPACK(; method = :hybr))),
6058
(; pkg = :wrapper, name = "Levenberg-Marquardt [MINPACK]", solver = Dict(:alg => CMINPACK(; method = :lm))),
6159
(; pkg = :wrapper, name = "Newton Raphson [NLsolve.jl]", solver = Dict(:alg => NLsolveJL(; method = :newton, autodiff = :forward))),

0 commit comments

Comments
 (0)