Gerrit Code Review vs Perforce

Need advice about which tool to choose?Ask the StackShare community!

Gerrit Code Review

116
223
+ 1
67
Perforce

83
113
+ 1
9
Add tool

Gerrit Code Review vs Perforce: What are the differences?

Introduction

Gerrit Code Review and Perforce are both software development tools commonly used for code review, version control, and collaboration among developers. However, they have several key differences that set them apart in terms of their features and capabilities.

  1. Workflow: Gerrit Code Review follows a distributed workflow where developers can clone the complete repository, make changes, and push them to remote branches for review. On the other hand, Perforce follows a centralized workflow where developers have a local workspace and they submit their changes to a central repository for review.

  2. Integration with IDE: Gerrit Code Review is tightly integrated with popular IDEs like Eclipse and Android Studio. It provides seamless access to code review features directly from the IDE's interface. In contrast, Perforce has its own GUI client called P4V, which developers need to use separately from the IDE.

  3. Branching: Gerrit Code Review supports lightweight branching, allowing developers to create and manage branches easily within the repository. This enables efficient collaboration and concurrent development. Perforce, however, follows a more heavyweight branching model, making it more suitable for large projects with complex codebases.

  4. Access Control: Gerrit Code Review provides fine-grained access controls, allowing administrators to define different permissions for different branches or projects. This ensures secure code review and prevents unauthorized access. Perforce also offers access control mechanisms, but they are less fine-grained compared to Gerrit.

  5. Code Review Workflow: Gerrit Code Review has a flexible code review workflow that allows reviewers to leave feedback on specific lines of code, propose changes, and discuss issues before the code is merged. Perforce, on the other hand, has a more traditional code review process where reviewers provide feedback through separate documents or email threads.

  6. Scalability: Gerrit Code Review is designed to handle large codebases and can scale to support thousands of users and repositories. It efficiently handles concurrent code reviews and integrates well with large development teams. Perforce, with its centralized architecture, may face scalability challenges in large projects or organizations with a high volume of code changes.

In summary, Gerrit Code Review and Perforce differ in their workflow, integration with IDEs, branching models, access controls, code review workflows, and scalability. These differences influence their suitability for different project sizes, collaboration needs, and development processes.

Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of Gerrit Code Review
Pros of Perforce
  • 14
    Code review
  • 12
    Good workflow
  • 11
    Cleaner repository story
  • 10
    Open source
  • 10
    Good integration with Jenkins
  • 6
    Unlimited repo support
  • 3
    Comparison dashboard
  • 1
    Great for team collaboration
  • 3
    Powerful
  • 3
    Great for Enterprise level use
  • 2
    Robust
  • 1
    Scalable

Sign up to add or upvote prosMake informed product decisions

What is Gerrit Code Review?

Gerrit is a self-hosted pre-commit code review tool. It serves as a Git hosting server with option to comment incoming changes. It is highly configurable and extensible with default guarding policies, webhooks, project access control and more.

What is Perforce?

Visibility, access control, workflow and code management for Git environments. Flexibility of collaborating on the same codebase and code reviews using any combination of Perforce and Git workflows and tools without compromise.

Need advice about which tool to choose?Ask the StackShare community!

What companies use Gerrit Code Review?
What companies use Perforce?
Manage your open source components, licenses, and vulnerabilities
Learn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Gerrit Code Review?
What tools integrate with Perforce?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to Gerrit Code Review and Perforce?
GitHub
GitHub is the best place to share code with friends, co-workers, classmates, and complete strangers. Over three million people use GitHub to build amazing things together.
GitLab
GitLab offers git repository management, code reviews, issue tracking, activity feeds and wikis. Enterprises install GitLab on-premise and connect it with LDAP and Active Directory servers for secure authentication and authorization. A single GitLab server can handle more than 25,000 users but it is also possible to create a high availability setup with multiple active servers.
Bitbucket
Bitbucket gives teams one place to plan projects, collaborate on code, test and deploy, all with free private Git repositories. Teams choose Bitbucket because it has a superior Jira integration, built-in CI/CD, & is free for up to 5 users.
Git
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
Visual Studio Code
Build and debug modern web and cloud applications. Code is free and available on your favorite platform - Linux, Mac OSX, and Windows.
See all alternatives