Massive performance increase

This affects projects with lots of deployments and environments in a massive way.