adamcik / plan

Timetable generator
http://ntnu.1024.no/
Other
50 stars 9 forks source link

Optimize timetable rendering #19

Open adamcik opened 14 years ago

adamcik commented 14 years ago

Profiling of the code has shown that most time is spent within [source:trunk/plan/templates/schedule_table.html]. The current version of this code has three nested for loops within the template code, unfortunately for-loops within django-templates are rather slow due the amount of overhead introduced by django's template features.

Currently the performance is not really an issue, so this task is by no means a priority. However if one where to attempt to solve this issue here are a few possible solutions:

adamcik commented 12 years ago

Timing experiments seem to indicate that the slowness is primarily in the django template system. I'm looking into switching to jinja which claims to be faster.