Skip to content

Commit

Permalink
shorten benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
administrator committed Oct 18, 2023
1 parent c447783 commit e6517ae
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions benchmark/benchmarks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ const sqd_hash = artifact_hash("sqdcollection", artifact_toml)
const sqd_path = joinpath(artifact_path(sqd_hash), "sqd-collection-0.1")

subdirs = readdir(sqd_path)
const formulations = ("2x2", "3x3")
const iters = (0, 5, 10)
const formulations = ("2x2",) # , "3x3")
const iters = (0,) #, 5, 10)

const SUITE = BenchmarkGroup()

SUITE["LLDL"] = BenchmarkGroup()
SUITE["LDIV"] = BenchmarkGroup()
# SUITE["LDIV"] = BenchmarkGroup()

for subdir subdirs
subdir == ".git" && continue
Expand All @@ -33,9 +33,9 @@ for subdir ∈ subdirs
L = tril(A)
P = 1:n
SUITE["LLDL"][name] = @benchmarkable lldl($L, P = $P)
lldlt = lldl(L, P = P)
y = similar(b)
SUITE["LDIV"][name] = @benchmarkable ldiv!($y, $lldlt, $b)
# lldlt = lldl(L, P = P)
# y = similar(b)
# SUITE["LDIV"][name] = @benchmarkable ldiv!($y, $lldlt, $b)
end
end
end

0 comments on commit e6517ae

Please sign in to comment.