Skip to content

Conversation

baggepinnen
Copy link
Contributor

No description provided.

fun = eval_or_rgf(fun_expr; eval_expression, eval_module)
dx = fun(sts, p, t)


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

@github-actions
Copy link
Contributor

github-actions bot commented Oct 16, 2025

Benchmark Results (Julia vlts)

Time benchmarks
master 8feaf4c... master / 8feaf4c...
ODEProblem 0.0975 ± 0.0066 s 0.1 ± 0.0064 s 0.972 ± 0.09
init 0.0574 ± 0.0017 ms 0.058 ± 0.0015 ms 0.99 ± 0.04
large_parameter_init/ODEProblem 1.1 ± 0.0015 s 1.1 ± 0.0034 s 1 ± 0.0034
large_parameter_init/init 0.107 ± 0.0022 ms 0.108 ± 0.0024 ms 0.992 ± 0.03
mtkcompile 0.0357 ± 0.0018 s 0.0358 ± 0.0024 s 0.997 ± 0.083
time_to_load 4.92 ± 0.075 s 4.9 ± 0.026 s 1 ± 0.016
Memory benchmarks
master 8feaf4c... master / 8feaf4c...
ODEProblem 0.708 M allocs: 23.8 MB 0.708 M allocs: 23.9 MB 0.999
init 0.892 k allocs: 0.0461 MB 0.892 k allocs: 0.0461 MB 1
large_parameter_init/ODEProblem 4.5 M allocs: 0.173 GB 4.5 M allocs: 0.173 GB 1
large_parameter_init/init 1.74 k allocs: 0.0857 MB 1.74 k allocs: 0.0857 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

@github-actions
Copy link
Contributor

github-actions bot commented Oct 16, 2025

Benchmark Results (Julia v1)

Time benchmarks
master 8feaf4c... master / 8feaf4c...
ODEProblem 0.102 ± 0.0067 s 0.105 ± 0.007 s 0.976 ± 0.091
init 0.0447 ± 0.011 ms 0.0446 ± 0.011 ms 1 ± 0.35
large_parameter_init/ODEProblem 1.28 ± 0.075 s 1.29 ± 0.044 s 0.993 ± 0.067
large_parameter_init/init 0.0778 ± 0.017 ms 0.0776 ± 0.016 ms 1 ± 0.3
mtkcompile 0.0364 ± 0.00077 s 0.0369 ± 0.0013 s 0.986 ± 0.04
time_to_load 4.55 ± 0.025 s 4.61 ± 0.056 s 0.987 ± 0.013
Memory benchmarks
master 8feaf4c... master / 8feaf4c...
ODEProblem 0.721 M allocs: 23 MB 0.719 M allocs: 22.9 MB 1
init 0.797 k allocs: 30.8 kB 0.797 k allocs: 30.8 kB 1
large_parameter_init/ODEProblem 4.81 M allocs: 0.174 GB 4.77 M allocs: 0.172 GB 1.01
large_parameter_init/init 1.64 k allocs: 0.0597 MB 1.64 k allocs: 0.0597 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

Copy link
Member

@AayushSabharwal AayushSabharwal left a comment

Choose a reason for hiding this comment

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

This needs a test

@test lsys.D[] == lsys2.D[] == 0

## Symbolic linearization
lsyss_ns, ssys_ns = ModelingToolkit.linearize_symbolic(cl, [f.u], [p.x], split=false)
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
lsyss_ns, ssys_ns = ModelingToolkit.linearize_symbolic(cl, [f.u], [p.x], split=false)
lsyss_ns, ssys_ns = ModelingToolkit.linearize_symbolic(cl, [f.u], [p.x], split = false)

@AayushSabharwal AayushSabharwal merged commit 4afaebb into master Oct 16, 2025
43 of 51 checks passed
@AayushSabharwal AayushSabharwal deleted the baggepinnen-patch-9 branch October 16, 2025 12:55
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.

2 participants