@@ -43,18 +43,18 @@ function run_benchmarks!(π::β³, SUITE::BenchmarkGroup)
4343
4444 SUITE[π. model_name][" qme" ] = BenchmarkGroup ()
4545
46- sol, qme_sol, solved = calculate_first_order_solution (ββ, π . caches; opts = merge_calculation_options (quadratic_matrix_equation_algorithm = :schur ))
46+ sol, qme_sol, solved = calculate_first_order_solution (ββ; T = π . timings, opts = merge_calculation_options (quadratic_matrix_equation_algorithm = :schur ))
4747
4848 clear_solution_caches! (π, :first_order )
4949
50- SUITE[π. model_name][" qme" ][" schur" ] = @benchmarkable calculate_first_order_solution ($ ββ, $ π. caches; opts = merge_calculation_options (quadratic_matrix_equation_algorithm = :schur )) setup = clear_solution_caches! ($ π, :first_order )
50+ SUITE[π. model_name][" qme" ][" schur" ] = @benchmarkable calculate_first_order_solution ($ ββ; T = $ π. timings, opts = merge_calculation_options (quadratic_matrix_equation_algorithm = :schur )) setup = clear_solution_caches! ($ π, :first_order )
5151
52- SUITE[π. model_name][" qme" ][" doubling" ] = @benchmarkable calculate_first_order_solution ($ ββ, $ π. caches; opts = merge_calculation_options (quadratic_matrix_equation_algorithm = :doubling )) setup = clear_solution_caches! ($ π, :first_order )
52+ SUITE[π. model_name][" qme" ][" doubling" ] = @benchmarkable calculate_first_order_solution ($ ββ; T = $ π. timings, opts = merge_calculation_options (quadratic_matrix_equation_algorithm = :doubling )) setup = clear_solution_caches! ($ π, :first_order )
5353
5454
55- A = @views sol[:, 1 : π. caches . timings. nPast_not_future_and_mixed] * β. diagm (ones (π. caches . timings. nVars))[π. caches . timings. past_not_future_and_mixed_idx,:]
55+ A = @views sol[:, 1 : π. timings. nPast_not_future_and_mixed] * β. diagm (ones (π. timings. nVars))[π. timings. past_not_future_and_mixed_idx,:]
5656
57- C = @views sol[:, π. caches . timings. nPast_not_future_and_mixed+ 1 : end ]
57+ C = @views sol[:, π. timings. nPast_not_future_and_mixed+ 1 : end ]
5858
5959 CC = C * C'
6060
@@ -103,7 +103,7 @@ run_benchmarks!(Smets_Wouters_2007, SUITE)
103103# end
104104# end
105105
106- # If a caches of tuned parameters already exists, use it, otherwise, tune and caches
106+ # If a cache of tuned parameters already exists, use it, otherwise, tune and cache
107107# the benchmark parameters. Reusing cached parameters is faster and more reliable
108108# than re-tuning `SUITE` every time the file is included.
109109# paramspath = joinpath(dirname(@__FILE__), "params.json")
0 commit comments