Benchmarks
Benchmarks of time spent on model construction with different number of variables (see benchmark notebook for details) with IndexedVarArray
(model_indexed
) and SparseAxisArray
(model_sparse_aa
) illustrate the potential improvement in model generation time:
Time spent on model construction can vary a lot depending on the level of sparsity (here constructed by varying sparsity level through parameter DP
):