Follow up to Performance problem with new projects page

Follow up to Performance problem with new projects page (#425166 - closed)

I believe the primary issue with the performance now is the n+1 issue described in the original issue. This is caused by the use of ability checks inside a loop that checks access to each project, as far as I understand it currently.

Edited by Robert May