Skip to content

Commit 10c137d

Browse files
StiffSDE/Oval2Timings: drop load-dependent absolute timings from the conclusion
CI weave timings disagree with the author's loaded-machine numbers by several× (e.g. SOSRI ~0.12 s vs ~1.1 s; speedup ~31× vs ~16×). Keep Δt thresholds, failure counts, and an order-of-magnitude comparison that survive machine load, and add a Core test that rejects absolute seconds / fixed speedup ratios in the conclusion. Co-Authored-By: Chris Rackauckas <[email protected]> Agent-Harness: Cursor Agent 2026.09.23-86fc751 Agent-Model: Composer (Auto) Agent-Session: eb4c79f6-9841-416b-9a38-8ab3cf517f44 Co-authored-by: Cursor <[email protected]>
1 parent 08c6dbf commit 10c137d

2 files changed

Lines changed: 22 additions & 5 deletions

File tree

‎benchmarks/StiffSDE/Oval2Timings.jmd‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -196,11 +196,12 @@ plot(p2,size=(800,800))
196196
## Conclusion
197197

198198
In the latest run, Euler-Maruyama, `RKMil`, and `SRIW1` all have failed trajectories for
199-
$\Delta t \geq 2^{-18}$ and first complete all 1000 trajectories at $\Delta t = 2^{-19}$,
200-
where they take about 18 s, 19 s, and 30 s. The implicit methods have no failures at any
201-
tested $\Delta t$ but take between about 40 s and 640 s. The fastest adaptive run
202-
(`SOSRI` with `abstol = 2^-7`, `reltol = 2^-4`) completes all trajectories in about 1.1 s,
203-
roughly 16 times faster than the cheapest fixed-step run without failures.
199+
$\Delta t \geq 2^{-18}$ and first complete all 1000 trajectories at $\Delta t = 2^{-19}$.
200+
The implicit methods have no failures at any tested $\Delta t$, but are substantially
201+
slower than those cheapest stable fixed-step runs. Absolute wall-clock times vary with
202+
machine load; the qualitative ranking does not. The fastest adaptive run
203+
(`SOSRI` with `abstol = 2^-7`, `reltol = 2^-4`) completes all trajectories more than an
204+
order of magnitude faster than the cheapest fixed-step run without failures.
204205

205206
```julia, echo = false
206207
using SciMLBenchmarks

‎test/core.jl‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,22 @@ end
420420
@test benchmark_assignment(benchmark, "times") == :(fill(NaN, length(dts), 3))
421421
end
422422

423+
@testset "Oval2Timings conclusion is load-invariant" begin
424+
source = read(
425+
joinpath(dirname(@__DIR__), "benchmarks", "StiffSDE", "Oval2Timings.jmd"),
426+
String,
427+
)
428+
conclusion = match(r"(?ms)## Conclusion\n(?<body>.*?)(?=\n```julia|\z)", source)
429+
@test !isnothing(conclusion)
430+
body = conclusion[:body]
431+
# Absolute wall-clock seconds and fixed speedup ratios vary with machine load
432+
# (CI vs a heavily loaded host disagree by several×). Keep Δt / failure claims only.
433+
@test !occursin(r"(?i)\d+(\.\d+)?\s*s\b", body)
434+
@test !occursin(r"(?i)\d+\s*times\s+faster", body)
435+
@test occursin("2^{-19}", body)
436+
@test occursin("order of magnitude", body)
437+
end
438+
423439
@testset "Enright-Pryce initial conditions" begin
424440
source = read(
425441
joinpath(

0 commit comments

Comments
 (0)