From a4eba05c9537a98b2a86d16605b2961048cb9692 Mon Sep 17 00:00:00 2001 From: Wouter Nuijten Date: Mon, 27 Nov 2023 16:22:00 +0100 Subject: [PATCH] Add graph creation benchmark --- benchmark/model_creation.jl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/benchmark/model_creation.jl b/benchmark/model_creation.jl index 61784278..ceaa0f3a 100644 --- a/benchmark/model_creation.jl +++ b/benchmark/model_creation.jl @@ -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 \ No newline at end of file