diff --git a/Project.toml b/Project.toml index 6a2a7131..3ba326c5 100644 --- a/Project.toml +++ b/Project.toml @@ -40,6 +40,7 @@ ModelingToolkit = "11.34" LinearSolve = "5" NonlinearSolveFirstOrder = "2.10" OrdinaryDiffEqBDF = "2.4" +OrdinaryDiffEqNonlinearSolve = "2.9.4" PDEBase = "0.1.40" PrecompileTools = "1.2.1" Random = "1" @@ -59,10 +60,11 @@ FerriteGmsh = "4f95f4f8-b27c-4ae5-9a39-ea55e634e36b" Gmsh = "705231aa-382f-11e9-3f0c-b7cb4346fdeb" LinearSolve = "7ed4a6bd-45f5-4d41-b270-4a48e9bafcae" OrdinaryDiffEqBDF = "6ad6398a-0878-4a85-9266-38940aa047c8" +OrdinaryDiffEqNonlinearSolve = "127b3ac7-2247-4354-8eb6-78cf4e7c58e8" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" SciMLTesting = "09d9d899-5365-40a9-917a-5f67fddea283" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [targets] -test = ["AllocCheck", "FerriteGmsh", "Gmsh", "LinearSolve", "OrdinaryDiffEqBDF", "Random", "SafeTestsets", "SciMLTesting", "Test"] +test = ["AllocCheck", "FerriteGmsh", "Gmsh", "LinearSolve", "OrdinaryDiffEqBDF", "OrdinaryDiffEqNonlinearSolve", "Random", "SafeTestsets", "SciMLTesting", "Test"] diff --git a/test/Perf/perf.jl b/test/Perf/perf.jl index ca1e2477..b66486f0 100644 --- a/test/Perf/perf.jl +++ b/test/Perf/perf.jl @@ -298,6 +298,8 @@ end @testset "cold latency: time to first assembly with and without the precompile workload" begin with, without = time_to_first_assembly(; workload = true), time_to_first_assembly(; workload = false) @info "time to first assembly in a fresh process (s)" with without ratio = with / without - @test with ≤ 0.5 * without # measured 0.51 s against 14.4 s (0.04); slack for a busy box - @test with ≤ 10.0 + # Coverage instrumentation (the child inherits it) invalidates the cached specializations: 33 s against 35 s on 1.12 + # and 18 s against 23 s on 1.10, but 0.6 s against 6 to 13 s uninstrumented on both. + @test with ≤ 0.5 * without skip = INSTRUMENTED # measured 0.51 s against 14.4 s (0.04); slack for a busy box + @test with ≤ 10.0 skip = INSTRUMENTED end