Autolab icon indicating copy to clipboard operation
Autolab copied to clipboard

Autolab running slower than before

Open jhs-panda opened this issue 1 year ago • 2 comments

Noticed by many TAs, an issue for both students and instructors. Viewing submissions takes much longer to load than it should. When grading assignments, TAs noticed that it takes a while for submission to load from view submissions page and when clicking from one submission to the next.

jhs-panda avatar Sep 28 '24 13:09 jhs-panda

Do profiling of submissions view / actions to see which parts of the logic take up most time verify if code diff is making a meaningful difference in rendering

20wildmanj avatar Oct 04 '24 21:10 20wildmanj

This is mostly due to the view taking a long time to load. We should minimise the number of times we iterate through instance variable arrays either through some sort of server-side pagination or caching.

KesterTan avatar Feb 03 '25 20:02 KesterTan