Skip to content
Snippets Groups Projects
  1. Feb 14, 2018
  2. Feb 06, 2018
  3. Feb 05, 2018
  4. Jan 09, 2018
  5. Jan 08, 2018
  6. Dec 07, 2017
  7. Dec 05, 2017
  8. Dec 03, 2017
  9. Nov 29, 2017
  10. Nov 27, 2017
  11. Oct 27, 2017
  12. Oct 21, 2017
  13. Oct 18, 2017
  14. Oct 06, 2017
  15. Oct 03, 2017
  16. Oct 02, 2017
  17. Sep 22, 2017
  18. Sep 19, 2017
  19. Sep 13, 2017
  20. Sep 07, 2017
  21. Sep 06, 2017
  22. Sep 04, 2017
  23. Aug 31, 2017
  24. Aug 30, 2017
  25. Aug 23, 2017
    • Annabel Dunstone Gray's avatar
    • Yorick Peterse's avatar
      Cache the number of open issues and merge requests · 6ec53f5d
      Yorick Peterse authored
      Every project page displays a navigation menu that in turn displays the
      number of open issues and merge requests. This means that for every
      project page we run two COUNT(*) queries, each taking up roughly 30
      milliseconds on GitLab.com. By caching these numbers and refreshing them
      whenever necessary we can reduce loading times of all these pages by up
      to roughly 60 milliseconds.
      
      The number of open issues does not include confidential issues. This is
      a trade-off to keep the code simple and to ensure refreshing the data
      only needs 2 COUNT(*) queries instead of 3. A downside is that if a
      project only has 5 confidential issues the counter will be set to 0.
      
      Because we now have 3 similar counting service classes the code
      previously used in Projects::ForksCountService has mostly been moved to
      Projects::CountService, which in turn is reused by the various service
      classes.
      
      Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/36622
      Verified
      6ec53f5d
  26. Aug 15, 2017
  27. Aug 07, 2017
  28. Aug 04, 2017
  29. Aug 02, 2017
  30. Jul 26, 2017
    • Phil Hughes's avatar
      style updates · d6b2c870
      Phil Hughes authored
      fixed weird dropdown items in issues when on merge request page
      d6b2c870
Loading