Skip to content

Commit 48f4d53

Browse files
committed
Add BenchmarkTools
1 parent ae37715 commit 48f4d53

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

perf/opf/opf2.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,5 @@ mu = rand(m)
3030
sigma = 0.0
3131
x_v = rand(n)
3232
@time MOI.eval_hessian_lagrangian(evaluator, H, x_v, sigma, mu)
33+
using BenchmarkTools
34+
@benchmark MOI.eval_hessian_lagrangian($evaluator, $H, $x_v, $sigma, $mu) seconds = 100

0 commit comments

Comments
 (0)