Skip to content
Snippets Groups Projects
  1. Jul 27, 2016
  2. Jul 26, 2016
  3. Jul 22, 2016
  4. Jul 01, 2016
  5. Jun 29, 2016
  6. Jun 16, 2016
  7. Jun 14, 2016
  8. Jun 13, 2016
  9. Mar 11, 2016
  10. Feb 18, 2016
  11. Oct 15, 2015
    • Yorick Peterse's avatar
      Improve ProjectTeam#max_member_access performance · 3025b711
      Yorick Peterse authored
      By comparing objects in Ruby we can greatly improve the performance of
      this method. In the worst case (should no data be eager loaded) this
      will run the same amount of queries as before, in the best case (when
      data _is_ eager loadeD) it requires no queries at all.
      
      The added benchmark used to produce around 273 iterations per second.
      With this commit this has been increased to almost 40 000 iterations per
      second: a speedup of roughly 145 times.
      
      Combined with eager loading Note associations this results in about 30
      queries less when viewing a single issue, this in turn cuts down the
      loading time by 30-40%.
      3025b711
  12. Oct 02, 2015
  13. Apr 14, 2015
  14. Mar 15, 2015
  15. Jan 01, 2015
  16. Oct 09, 2014
  17. Oct 03, 2014
  18. Sep 15, 2014
  19. Sep 14, 2014
  20. Jun 20, 2014
  21. Jun 04, 2014
  22. Jan 19, 2014
  23. Dec 25, 2013
  24. Dec 17, 2013
  25. Dec 14, 2013
  26. Aug 27, 2013
  27. Jun 26, 2013
  28. Jun 22, 2013
  29. Jun 18, 2013
Loading