hasadna / Open-Knesset

A project aimed at making the Israeli Knesset more transparent. Python and Django based
http://oknesset.org/
BSD 3-Clause "New" or "Revised" License
106 stars 175 forks source link

Optimization: member page - slowness due to agendas section #712

Open alonisser opened 7 years ago

alonisser commented 7 years ago

agendas section alone Adds tons of queries and lots of processing time (about 4 sec minimum, probably more on the server). Processing time is much longer the the 100 +- queries added. So also another problem there.

this method:

self.get_agenda_data(member)