Performance testing
Apparently the model has become a bit slower with recent updates. It would be interesting to implement some performance checks, e.g. from the timeit module. Ideally we could figure out where the model is spending the most time and try to make more efficient code for these parts.