An error occurred fetching the project authors.
  1. 17 Oct, 2015 1 commit
  2. 15 Oct, 2015 1 commit
    • Yorick Peterse's avatar
      Improve performance of User.by_login · 72f428c7
      Yorick Peterse authored
      Performance is improved in two steps:
      
      1. On PostgreSQL an expression index is used for checking lower(email)
         and lower(username).
      2. The check to determine if we're searching for a username or Email is
         moved to Ruby. Thanks to @haynes for suggesting and writing the
         initial implementation of this.
      
      Moving the check to Ruby makes this method an additional 1.5 times
      faster compared to doing the check in the SQL query.
      
      With performance being improved I've now also tweaked the amount of
      iterations required by the User.by_login benchmark. This method now runs
      between 900 and 1000 iterations per second.
      72f428c7
  3. 05 Oct, 2015 3 commits
  4. 03 Oct, 2015 1 commit
  5. 02 Oct, 2015 1 commit
  6. 01 Oct, 2015 1 commit
  7. 29 Sep, 2015 2 commits
  8. 26 Sep, 2015 2 commits
  9. 15 Sep, 2015 1 commit
  10. 06 Sep, 2015 1 commit
  11. 27 Aug, 2015 1 commit
  12. 21 Aug, 2015 1 commit
  13. 20 Aug, 2015 1 commit
  14. 04 Aug, 2015 1 commit
  15. 02 Aug, 2015 1 commit
  16. 30 Jul, 2015 1 commit
  17. 29 Jul, 2015 1 commit
  18. 28 Jul, 2015 1 commit
  19. 23 Jul, 2015 1 commit
  20. 13 Jul, 2015 1 commit
  21. 10 Jul, 2015 1 commit
  22. 24 Jun, 2015 1 commit
  23. 23 Jun, 2015 2 commits
  24. 20 Jun, 2015 1 commit
  25. 19 Jun, 2015 3 commits
  26. 17 Jun, 2015 1 commit
  27. 16 Jun, 2015 2 commits
  28. 13 Jun, 2015 1 commit
  29. 09 Jun, 2015 1 commit
  30. 28 May, 2015 3 commits