Downloading a CSV file would take too much time and result in time out error for teachers with large number of students.
What we found
Teachers with larger number of students were waiting for a long time or were getting an error. There was so much data that needed to be gathered and sorted that it was taking too much time.
What we did
We have changed this to background process and the file is emailed. It is so much faster now.