Skip to content

Commit

Permalink
[ci skip] Slightly more robust benchmarks.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf committed Feb 19, 2020
1 parent 111ad5c commit 403ea5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmark/benchmarks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ using BenchmarkTools
SUITE = BenchmarkGroup()
for file in sort(readdir(@__DIR__))
if startswith(file, "bench_") && endswith(file, ".jl")
SUITE[file[length("bench_") + 1:end - length(".jl")]] =
SUITE[chop(file, head = length("bench_"), tail = length(".jl"))] =
include(file)
end
end

0 comments on commit 403ea5a

Please sign in to comment.