Gradebook is slow to load when spreadheet gets large

Bug #561217 reported by Alan Elkner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SchoolTool Gradebook
Triaged
Low
Justas Sadzevičius
Flourish
Fix Released
Critical
Justas Sadzevičius

Bug Description

We need to make a comprehensive change to the way the gradebook spreadsheet view works, using almost exclusively javascript to render the cells browser-side.

All but one of the cells will be just <td class"cell">score</td>, so the large javascript loop will run quickly. The current cell will be an input field. The event handler for cursor events (and mouse clicks) will change the current cell, turning it into an input field. Whatever the user changes will get sent to the server in the request.

Alan Elkner (aelkner)
Changed in schooltool.gradebook:
assignee: nobody → Alan Elkner (aelkner)
importance: Undecided → High
Revision history for this message
Tom Hoffman (tom-hoffman) wrote :

We'll have to discuss this.

Changed in schooltool.gradebook:
milestone: none → next
Changed in schooltool.gradebook:
assignee: Alan Elkner (aelkner) → Douglas Cerna (replaceafill)
Revision history for this message
Tom Hoffman (tom-hoffman) wrote :

Look at the same issue in journal.

Changed in schooltool.gradebook:
assignee: Douglas Cerna (replaceafill) → Justas Sadzevičius (justas-pov)
importance: High → Critical
status: New → Triaged
milestone: next → 1.9.2
Changed in schooltool.gradebook:
status: Triaged → In Progress
Revision history for this message
Justas Sadzevičius (justas.sadzevicius) wrote :

Profiled it a bit. Slowness seems to be caused by:
- overzealous security checks
- complicated/large template rendering
- in some part by data storage/retrieval

Revision history for this message
Justas Sadzevičius (justas.sadzevicius) wrote :

Fixed the overzealous security checks. Bug considered fixed, the template rendering slowness should be fixed separately.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.