BigW Consortium Gitlab

  1. 09 Mar, 2016 2 commits
    • Add a `gemojione:sprite` Rake task · e443c7c6
      Robert Speicher authored
      This task will generate a standard and Retina sprite of all of the
      current Gemojione Emojis, with the accompanying SCSS map.
      
      It will not appear in `rake -T` output, and the dependent gems are not
      included in the Gemfile by default, because this task will only be
      needed occasionally.
      
      [ci skip]
    • Retry spinach tests · af434016
      Kamil Trzcinski authored
  2. 04 Mar, 2016 1 commit
  3. 29 Feb, 2016 1 commit
  4. 25 Feb, 2016 1 commit
    • Batch size >1000 does not pay off · a3109012
      Jacob Vosmaer authored
      We did a small experiment to see how a full scan of the Redis keys on
      gitlab.com speeds up as we increase the batch size. The values on the
      right are time in seconds for a full scan (no delete operations).
      
      count: 10);      284.500529021
      count: 100);      86.21216934
      count: 1_000);    60.931676195
      count: 10_000);   60.96355610
      count: 100_000);  62.378172541
      
      It looks like 1,000 is a good number.
  5. 19 Feb, 2016 1 commit
  6. 18 Feb, 2016 1 commit
    • Use SCAN during 'rake cache:clear' · 9805fe19
      Jacob Vosmaer authored
      This allows 'rake cache:clear' to delete millions of keys without
      choking. It requires Redis 2.8.0 or newer but we needed that already
      anyway.
  7. 17 Feb, 2016 1 commit
  8. 10 Feb, 2016 2 commits
  9. 09 Feb, 2016 1 commit
  10. 05 Feb, 2016 1 commit
  11. 03 Feb, 2016 2 commits
  12. 15 Jan, 2016 1 commit
  13. 13 Jan, 2016 1 commit
  14. 05 Jan, 2016 1 commit
  15. 14 Dec, 2015 1 commit
  16. 12 Dec, 2015 1 commit
  17. 11 Dec, 2015 1 commit
  18. 09 Dec, 2015 4 commits
  19. 08 Dec, 2015 2 commits
  20. 25 Nov, 2015 1 commit
  21. 19 Nov, 2015 1 commit
  22. 17 Nov, 2015 1 commit
  23. 16 Nov, 2015 1 commit
  24. 12 Nov, 2015 1 commit
  25. 11 Nov, 2015 2 commits
  26. 10 Nov, 2015 2 commits
  27. 03 Nov, 2015 1 commit
  28. 29 Oct, 2015 1 commit
  29. 21 Oct, 2015 1 commit
  30. 19 Oct, 2015 1 commit
  31. 15 Oct, 2015 1 commit
    • 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.