From eba102b4ff4c33f968459c4416e94c49bc5d558e Mon Sep 17 00:00:00 2001 From: Michael Ingold Date: Mon, 28 Oct 2024 00:18:55 -0400 Subject: [PATCH] Reduce scald --- benchmark/benchmarks.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/benchmark/benchmarks.jl b/benchmark/benchmarks.jl index 2ec3cf17..d830f578 100644 --- a/benchmark/benchmarks.jl +++ b/benchmark/benchmarks.jl @@ -28,7 +28,7 @@ geometries = ( SUITE["Integrals"] = let s = BenchmarkGroup() for (int, rule, geometry) in Iterators.product(integrands, rules, geometries) n1, n2, N = geometry.name, "$(int.name) $(rule.name)", rule.N - s[n1][n2] = @benchmarkable integral($int.f, $geometry.item, $rule.rule) evals=N + s[n1][n2] = @benchmarkable integral($int.f, $geometry.item, $rule.rule) end s end @@ -41,8 +41,8 @@ sphere = Sphere(Point(0, 0, 0), 1.0) differential = MeshIntegrals.differential SUITE["Differentials"] = let s = BenchmarkGroup() - s["Jacobian"] = @benchmarkable jacobian($sphere, $(0.5, 0.5)) evals=1000 - s["Differential"] = @benchmarkable differential($sphere, $(0.5, 0.5)) evals=1000 + s["Jacobian"] = @benchmarkable jacobian($sphere, $(0.5, 0.5)) evals=10 + s["Differential"] = @benchmarkable differential($sphere, $(0.5, 0.5)) evals=10 s end