Skip to content

Conversation

ChrisRackauckas
Copy link
Member

No description provided.


prob = ODEProblem(sys, [], tspan)
sol = solve(prob, radau5(), saveat=timepoint, abstol = 1e-10, reltol = 1e-10)
sol = solve(prob, RadauIIA5(), saveat=timepoint, abstol = 1e-10, reltol = 1e-10)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
sol = solve(prob, RadauIIA5(), saveat=timepoint, abstol = 1e-10, reltol = 1e-10)
sol = solve(prob, RadauIIA5(), saveat = timepoint, abstol = 1e-10, reltol = 1e-10)


prob = ODEProblem(sys, [], tspan)
sol = solve(prob, radau5(), saveat=timepoint, abstol = 1e-10, reltol = 1e-10)
sol = solve(prob, RadauIIA5(), saveat=timepoint, abstol = 1e-10, reltol = 1e-10)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
sol = solve(prob, RadauIIA5(), saveat=timepoint, abstol = 1e-10, reltol = 1e-10)
sol = solve(prob, RadauIIA5(), saveat = timepoint, abstol = 1e-10, reltol = 1e-10)


prob = ODEProblem(sys, [], tspan)
sol = solve(prob, radau5(), saveat=timepoint, abstol = 1e-10, reltol = 1e-10)
sol = solve(prob, RadauIIA5(), saveat=timepoint, abstol = 1e-10, reltol = 1e-10)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
sol = solve(prob, RadauIIA5(), saveat=timepoint, abstol = 1e-10, reltol = 1e-10)
sol = solve(prob, RadauIIA5(), saveat = timepoint, abstol = 1e-10, reltol = 1e-10)

Copy link
Contributor

Benchmark Results (Julia vlts)

Time benchmarks
master 88c2aca... master / 88c2aca...
ODEProblem 0.0868 ± 0.0066 s 0.0901 ± 0.0055 s 0.963 ± 0.094
init 0.0575 ± 0.0016 ms 0.0586 ± 0.0019 ms 0.98 ± 0.042
large_parameter_init/ODEProblem 1.07 ± 0.0061 s 1.08 ± 0.0078 s 0.994 ± 0.0091
large_parameter_init/init 0.117 ± 0.0025 ms 0.11 ± 0.0029 ms 1.06 ± 0.036
mtkcompile 0.0361 ± 0.0014 s 0.0374 ± 0.0021 s 0.966 ± 0.066
time_to_load 5.14 ± 0.019 s 5.23 ± 0.073 s 0.982 ± 0.014
Memory benchmarks
master 88c2aca... master / 88c2aca...
ODEProblem 0.606 M allocs: 20.6 MB 0.606 M allocs: 20.6 MB 1
init 0.892 k allocs: 0.0463 MB 0.892 k allocs: 0.0463 MB 1
large_parameter_init/ODEProblem 4.31 M allocs: 0.166 GB 4.3 M allocs: 0.166 GB 0.999
large_parameter_init/init 1.74 k allocs: 0.0858 MB 1.74 k allocs: 0.0858 MB 1
mtkcompile 0.237 M allocs: 8.75 MB 0.237 M allocs: 8.75 MB 1
time_to_load 0.153 k allocs: 14.5 kB 0.153 k allocs: 14.5 kB 1

Copy link
Contributor

Benchmark Results (Julia v1)

Time benchmarks
master 88c2aca... master / 88c2aca...
ODEProblem 0.0869 ± 0.006 s 0.087 ± 0.0056 s 0.999 ± 0.095
init 0.0447 ± 0.011 ms 0.0438 ± 0.011 ms 1.02 ± 0.36
large_parameter_init/ODEProblem 1.25 ± 0.048 s 1.22 ± 0.045 s 1.02 ± 0.054
large_parameter_init/init 0.0769 ± 0.016 ms 0.0769 ± 0.017 ms 1 ± 0.31
mtkcompile 0.0361 ± 0.00064 s 0.035 ± 0.00068 s 1.03 ± 0.027
time_to_load 4.54 ± 0.045 s 4.53 ± 0.046 s 1 ± 0.014
Memory benchmarks
master 88c2aca... master / 88c2aca...
ODEProblem 0.618 M allocs: 19.8 MB 0.618 M allocs: 19.8 MB 0.999
init 0.797 k allocs: 30.9 kB 0.797 k allocs: 30.9 kB 1
large_parameter_init/ODEProblem 4.55 M allocs: 0.165 GB 4.55 M allocs: 0.165 GB 0.999
large_parameter_init/init 1.64 k allocs: 0.0598 MB 1.64 k allocs: 0.0598 MB 1
mtkcompile 0.242 M allocs: 8.3 MB 0.242 M allocs: 8.3 MB 1
time_to_load 0.151 k allocs: 11.5 kB 0.151 k allocs: 11.5 kB 1

@ChrisRackauckas ChrisRackauckas merged commit 4a6d891 into master Oct 13, 2025
33 of 51 checks passed
@ChrisRackauckas ChrisRackauckas deleted the ChrisRackauckas-patch-5 branch October 13, 2025 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant