1. 31 10月, 2017 5 次提交
  2. 30 10月, 2017 29 次提交
  3. 29 10月, 2017 1 次提交
  4. 28 10月, 2017 4 次提交
  5. 27 10月, 2017 1 次提交
    • R
      Merge branch 'use-git-branch-merged' into 'master' · dfd6c3f8
      Rémy Coutable 提交于
      Fetch the merged branches at once.
      
      Checking it one by one in the view. We don't cache this yet
      because this would already much improve the performance.
      
      A naive test against a particularly large repository:
      
      ``` ruby
      begin
        now = Time.now
        branches.map{ |b| r.merged_to_root_ref?(b.name) }
        Time.now - now
      end # 8.265830782
      ```
      
      Around 10 times faster:
      
      ``` ruby
      begin
        now = Time.now
        r.merged_branches(branches.map(&:name))
        Time.now - now
      end # 0.807405397
      ```
      
      This should make the branches page usable.
      
      See merge request gitlab-org/gitlab-ce!14729
      dfd6c3f8