Improve performance on model updates
With the most recent model updates described here there are some performance implications:
Before
:
[I 220114 15:25:38 web:2239] 200 GET /calculator/baseline-model/result (::1) 1508.22ms
[I 220114 15:25:39 web:2239] 200 GET /calculator/baseline-model/result (::1) 241.39ms
After
:
[I 220114 15:24:47 web:2239] 200 GET /calculator/baseline-model/result (::1) 3442.08ms
[I 220114 15:24:50 web:2239] 200 GET /calculator/baseline-model/result (::1) 2267.64ms
Even though the performance degradation is not too much, it takes considerable more time to compute the results, therefore it must be improved.