Skip to content

Commit

Permalink
Reduce scald
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeingold authored Oct 28, 2024
1 parent 7bde0f5 commit eba102b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions benchmark/benchmarks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit eba102b

Please sign in to comment.