SciPost Code Repository

Skip to content
Snippets Groups Projects
  1. Mar 19, 2017
  2. Mar 18, 2017
  3. Mar 17, 2017
  4. Mar 13, 2017
  5. Mar 12, 2017
  6. Mar 11, 2017
  7. Mar 10, 2017
    • Jorran de Wit's avatar
      Major improvement of personal page work load · d7e5cc0d
      Jorran de Wit authored
      The personal page has an extreme database load. The number
       of database queries is heavily dependent on the number of
       objects loaded into the views such as own_comments, etc etc.
       On my almost-empty local database this resulted in 94 queries
       in a single view request with a significantly long loading time!
      
      This is a quick and dirty, first improvement. Splitting the different
       tabs to different routes or dynamically load the tab content when
       opening seems a best option after all.
      d7e5cc0d
    • Jorran de Wit's avatar
      3c269b1d
    • Jorran de Wit's avatar
      Reduce commentaries list view db load · 4313304f
      Jorran de Wit authored
      The select_related method reduces the database load
       by a factor of +/- 5 on the list view.
      4313304f
Loading