Skip to content

Commit

Permalink
Add graph creation benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterwln committed Nov 27, 2023
1 parent 14a9852 commit a4eba05
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions benchmark/model_creation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,9 @@ function benchmark_model_creation()
for i in 10 .^ range(1, stop=3)
SUITE["create HGF of depth $i"] = @benchmarkable create_hgf($i)
end
for i in 10 .^ range(2, stop=6)
n_nodes = 10^i
SUITE["create model with array of length $i"] = create_longarray($n_nodes)
end
return SUITE
end

0 comments on commit a4eba05

Please sign in to comment.