Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/BaseBenchmarks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,12 @@ const MODULES = Dict("array" => :ArrayBenchmarks,
"simd" => :SIMDBenchmarks,
"sort" => :SortBenchmarks,
"sparse" => :SparseBenchmarks,
"specialfunction" => :SpecialFunctionBenchmarks,
"string" => :StringBenchmarks,
"tuple" => :TupleBenchmarks)

const NOT_INCLUDED_IN_ALL = ["specialfunction",]

load!(id::AbstractString; kwargs...) = load!(SUITE, id; kwargs...)

function load!(group::BenchmarkGroup, id::AbstractString; tune::Bool = true)
Expand All @@ -50,6 +53,12 @@ loadall!(; kwargs...) = loadall!(SUITE; kwargs...)

function loadall!(group::BenchmarkGroup; verbose::Bool = true, tune::Bool = true)
for id in keys(MODULES)
if id in NOT_INCLUDED_IN_ALL
if verbose
println("skipping loading group $(repr(id))")
end
continue
end
if verbose
print("loading group $(repr(id))... ")
time = @elapsed load!(group, id, tune=false)
Expand Down
Loading