@@ -23,15 +23,15 @@ out = zeros(N);
2323myfun (x, lv) = x * sin (x) - lv
2424function froots (out, levels, u0)
2525 for i in 1 : N
26- out[i] = find_zero ( myfun, u0, levels[i])
26+ out[i] = solve ( ZeroProblem ( myfun, u0) , levels[i])
2727 end
2828end
2929
3030@btime froots (out, levels, (0 , 2 ))
3131```
3232
3333```
34- 207.226 ms (0 allocations: 0 bytes)
34+ 78.300 ms (0 allocations: 0 bytes)
3535```
3636
3737
6666```
6767
6868```
69- 33.746 ms (0 allocations: 0 bytes)
70- 97.575 ms (0 allocations: 0 bytes)
71- 12.851 ms (0 allocations: 0 bytes)
69+ 33.809 ms (0 allocations: 0 bytes)
70+ 97.578 ms (0 allocations: 0 bytes)
71+ 12.843 ms (0 allocations: 0 bytes)
7272```
7373
7474
@@ -102,7 +102,7 @@ Platform Info:
102102 WORD_SIZE: 64
103103 LIBM: libopenlibm
104104 LLVM: libLLVM-15.0.7 (ORCJIT, znver2)
105- Threads: 1 default, 0 interactive, 1 GC (on 128 virtual cores)
105+ Threads: 128 default, 0 interactive, 64 GC (on 128 virtual cores)
106106Environment:
107107 JULIA_CPU_THREADS = 128
108108 JULIA_DEPOT_PATH = /cache/julia-buildkite-plugin/depots/5b300254-1738-4989-ae0a-f4d2d937f953
@@ -133,11 +133,11 @@ Status `/cache/build/exclusive-amdci1-0/julialang/scimlbenchmarks-dot-jl/benchma
133133 [7d9f7c33] Accessors v0.1.42
134134 [79e6a3ab] Adapt v4.3.0
135135⌃ [4fba245c] ArrayInterface v7.18.0
136- [4c555306] ArrayLayouts v1.11.1
136+ ⌃ [4c555306] ArrayLayouts v1.11.1
137137 [6e4b80f9] BenchmarkTools v1.6.0
138138 [62783981] BitTwiddlingConvenienceFunctions v0.1.6
139139⌃ [70df07ce] BracketingNonlinearSolve v1.2.0
140- [2a0fbf3d] CPUSummary v0.2.6
140+ ⌃ [2a0fbf3d] CPUSummary v0.2.6
141141 [336ed68f] CSV v0.10.15
142142⌃ [d360d2e6] ChainRulesCore v1.25.1
143143 [fb6a15b2] CloseOpenIntervals v0.1.13
@@ -154,7 +154,7 @@ Status `/cache/build/exclusive-amdci1-0/julialang/scimlbenchmarks-dot-jl/benchma
154154 [a8cc5b0e] Crayons v4.1.1
155155 [9a962f9c] DataAPI v1.16.0
156156 [a93c6f00] DataFrames v1.7.0
157- [864edb3b] DataStructures v0.18.22
157+ ⌅ [864edb3b] DataStructures v0.18.22
158158 [e2d170a0] DataValueInterfaces v1.0.0
159159⌃ [2b5f629d] DiffEqBase v6.170.1
160160 [163ba53b] DiffResults v1.1.0
@@ -170,7 +170,7 @@ Status `/cache/build/exclusive-amdci1-0/julialang/scimlbenchmarks-dot-jl/benchma
170170⌃ [a4df4552] FastPower v1.1.2
171171 [48062228] FilePathsBase v0.9.24
172172 [1a297f60] FillArrays v1.13.0
173- [6a86dc24] FiniteDiff v2.27.0
173+ ⌃ [6a86dc24] FiniteDiff v2.27.0
174174 [f6369f11] ForwardDiff v1.0.1
175175 [069b7b12] FunctionWrappers v1.1.3
176176 [77dc65aa] FunctionWrappersWrappers v0.1.3
@@ -184,13 +184,13 @@ Status `/cache/build/exclusive-amdci1-0/julialang/scimlbenchmarks-dot-jl/benchma
184184 [41ab1584] InvertedIndices v1.3.1
185185 [92d709cd] IrrationalConstants v0.2.4
186186 [82899510] IteratorInterfaceExtensions v1.0.0
187- [692b3bcd] JLLWrappers v1.7.0
187+ ⌃ [692b3bcd] JLLWrappers v1.7.0
188188 [682c06a0] JSON v0.21.4
189189 [ae98c720] Jieko v0.2.1
190190 [ba0b0d4f] Krylov v0.10.1
191191 [b964fa9f] LaTeXStrings v1.4.0
192192 [10f19ff3] LayoutPointers v0.1.17
193- [5078a376] LazyArrays v2.6.1
193+ ⌃ [5078a376] LazyArrays v2.6.1
194194⌃ [9c8b4983] LightXML v0.9.1
195195 [87fe0de2] LineSearch v0.1.4
196196⌃ [7ed4a6bd] LinearSolve v3.9.0
@@ -208,7 +208,7 @@ Status `/cache/build/exclusive-amdci1-0/julialang/scimlbenchmarks-dot-jl/benchma
208208⌃ [be0214bd] NonlinearSolveBase v1.6.0
209209⌃ [5959db7a] NonlinearSolveFirstOrder v1.4.0
210210⌃ [9a2c21bd] NonlinearSolveQuasiNewton v1.3.0
211- [26075421] NonlinearSolveSpectralMethods v1.2.0
211+ ⌃ [26075421] NonlinearSolveSpectralMethods v1.2.0
212212 [0f4fe800] OMJulia v0.3.2
213213⌃ [bac558e1] OrderedCollections v1.8.0
214214 [d96e819e] Parameters v0.12.3
@@ -217,7 +217,7 @@ Status `/cache/build/exclusive-amdci1-0/julialang/scimlbenchmarks-dot-jl/benchma
217217 [1d0040c9] PolyesterWeave v0.2.2
218218 [2dfb63ee] PooledArrays v1.4.3
219219⌅ [aea7be01] PrecompileTools v1.2.1
220- [21216c6a] Preferences v1.4.3
220+ ⌃ [21216c6a] Preferences v1.4.3
221221 [08abe8d2] PrettyTables v2.4.0
222222 [3cdcf5f2] RecipesBase v1.3.4
223223⌃ [731186ca] RecursiveArrayTools v3.33.0
@@ -237,13 +237,13 @@ Status `/cache/build/exclusive-amdci1-0/julialang/scimlbenchmarks-dot-jl/benchma
237237 [efcf1570] Setfield v1.1.2
238238⌃ [727e6d20] SimpleNonlinearSolve v2.3.0
239239 [b85f4697] SoftGlobalScope v1.1.0
240- [a2af1166] SortingAlgorithms v1.2.1
240+ ⌃ [a2af1166] SortingAlgorithms v1.2.1
241241⌃ [0a514795] SparseMatrixColorings v0.4.19
242242 [276daf66] SpecialFunctions v2.5.1
243243 [aedffcd0] Static v1.2.0
244244 [0d7ed370] StaticArrayInterface v1.8.0
245245 [1e83bf80] StaticArraysCore v1.4.3
246- [7792a7ef] StrideArraysCore v0.5.7
246+ ⌃ [7792a7ef] StrideArraysCore v0.5.7
247247 [69024149] StringEncodings v0.3.7
248248 [892a3eda] StringManipulation v0.4.1
249249⌃ [2efcf032] SymbolicIndexingInterface v0.3.40
@@ -260,11 +260,11 @@ Status `/cache/build/exclusive-amdci1-0/julialang/scimlbenchmarks-dot-jl/benchma
260260 [76eceee3] WorkerUtilities v1.6.1
261261⌃ [ddb6d928] YAML v0.4.13
262262⌃ [c2297ded] ZMQ v1.4.0
263- [2e619515] Expat_jll v2.6.5+0
263+ ⌃ [2e619515] Expat_jll v2.6.5+0
264264⌃ [f8c6e375] Git_jll v2.49.0+0
265- [1d5cc7b8] IntelOpenMP_jll v2025.0.4+0
265+ ⌃ [1d5cc7b8] IntelOpenMP_jll v2025.0.4+0
266266 [94ce4f54] Libiconv_jll v1.18.0+0
267- [856f044c] MKL_jll v2025.0.1+1
267+ ⌃ [856f044c] MKL_jll v2025.0.1+1
268268⌃ [458c3c95] OpenSSL_jll v3.5.0+0
269269 [efe28fd5] OpenSpecFun_jll v0.5.6+0
270270⌅ [02c8fc9c] XML2_jll v2.13.6+1
0 commit comments