-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Performance problem - Pages are too slow to load #1327
Comments
This needs proper planning as code cannot be optimized with current structure of the web page. It is a big update |
Still very slow after merging #1343 |
Tested and think I have a fix: Essentially we used the CompetitionDetailSerializer to load competitions and I switched to CompetitionSerializerSimple. The detail one serializes phases and tasks and I believe that is time consuming. The Simple one has everything we need and it loads things faster on my local when I create lots of data. using selenium. |
We need to make the loading of competition page lazy. codabench/src/apps/api/views/competitions.py Line 160 in c2cd638
|
That may be a good idea, especially for "Submissions" which can be heavy. However this will accelerate the loading only for organizers and admins. |
We removed temporarily the submissions and participants counters to unblock the platform (#1646) |
Here is what we want to do: Featured Competitions on home page (Solved by: #1678)
Submissions and Participants (Solved by: #1669)
Home page counters (Solved by: #1699)
Long term solution for competition details page
|
Codabench is too slow to load.
Home page of competitions are loading everything at once. We need a lazy loading.
When a loading is long, it is decreasing the performance for everybody else (this is normal I guess).
Competitions list is slow to load too, despite the small logos (Add thumbnail logo to competitions to increase loading speed of the list #1290). Code of this page: https://github.com/codalab/codabench/blob/f83f94c1e492da524fef5b2f6ccf26846fa88b69/src/static/riot/competitions/public-list.tag
TODO
"Show more" on leaderboard results tab. By default show 30 rows, and add more when clicking on show more. If the participants is not on the first 30, it could still be shown at the bottom of the table after some "[...]" rowPR#2
- Submissions and Participants Count #1669)PR#1
- Featured competitions #1678)PR#3
- Home page counters #1699)The text was updated successfully, but these errors were encountered: