We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f10daa commit 4e28956Copy full SHA for 4e28956
benchmark/benchmarks.jl
@@ -45,12 +45,17 @@ end
45
46
@named model = DCMotor()
47
48
+# first call
49
+mtkcompile(model)
50
SUITE["mtkcompile"] = @benchmarkable mtkcompile($model)
51
52
model = mtkcompile(model)
53
u0 = unknowns(model) .=> 0.0
54
tspan = (0.0, 6.0)
-SUITE["ODEProblem"] = @benchmarkable ODEProblem($model, $u0, $tspan)
55
56
prob = ODEProblem(model, u0, tspan)
57
+SUITE["ODEProblem"] = @benchmarkable ODEProblem($model, $u0, $tspan)
58
+
59
60
+init(prob)
61
SUITE["init"] = @benchmarkable init($prob)
0 commit comments