Hi,

In the process of reviewing Stephen's series, I had an independent
look at what was making the event list api endpont so slow.

My analysis is that the DB queries can be improved, but that the main
slow-down is due to some weirdness in how d-r-f's browsable API renderer
works.

Stephen, this gets my view times down considerably without changes to
the database. Can you compare your results with this please?

Regards,
Daniel

Daniel Axtens (2):
  api: EventList: change select_related() to prefetch_related()
  api: EventList: Only provide JSON version

 patchwork/api/event.py | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

-- 
2.14.1

_______________________________________________
Patchwork mailing list
Patchwork@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/patchwork

Reply via email to