Skip to content
GitLab
Next
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    Projects Groups Snippets
  • Sign up now
  • Login
  • Sign in / Register
  • gitlab_git gitlab_git
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • GitLab.orgGitLab.org
  • gitlab_gitgitlab_git
  • Merge requests
  • !62

Improve Gitlab::Git::Repository performance

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Yorick Peterse requested to merge improve-repository-performance into master Jan 21, 2016
  • Overview 9
  • Commits 3
  • Pipelines 0
  • Changes

These changes result in Project#empty_repo? in GitLab CE being about 4.25 - 4.5x faster than before. For the gitlab-org/gitlab-ce repository this means this method now completes in about 100 milliseconds instead of around 450 milliseconds.

GitLab CE issue: https://gitlab.com/gitlab-org/gitlab-ce/issues/12418

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: improve-repository-performance