# RuboCop Performance

> Performance optimization analysis for Ruby code, as a RuboCop extension

Source: https://talira.ai/catalog/rubocop-performance-qpzndqc0
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Plugin
- Categories: [developer tools / linting](https://talira.ai/categories/developer-tools/linting), [languages / ruby](https://talira.ai/categories/languages/ruby)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [RuboCop](https://talira.ai/orgs/rubocop.md)
- Funding: funded by donations[^2][^3]

RuboCop Performance is an official extension to [RuboCop](https://talira.ai/catalog/rubocop-rxzhjmy8.md) that adds about 50 cops which flag slow Ruby idioms and suggest faster equivalents. It's loaded as a RuboCop plugin from .rubocop.yml, the command line or a Rake task, and its cops are configured like RuboCop's own. Installed as the rubocop-performance gem; MIT licence, from the RuboCop project.

## Links

- Website: https://docs.rubocop.org/rubocop-performance/
- GitHub: https://github.com/rubocop/rubocop-performance
- Docs: https://docs.rubocop.org/rubocop-performance/

## Problems it solves

- catch slow Ruby code patterns automatically in code review
- have my Ruby linter suggest faster equivalents for common methods
- find allocation-heavy and slow string and array code in a Rails app with a linter

## Features

- about 50 cops that flag slow Ruby idioms
- loads as a RuboCop plugin from .rubocop.yml, the command line or a Rake task
- cops configured and disabled like RuboCop's own

## Trust

Overall: 0.54 out of 1.
Signals: maintenance 0.67, adoption 0.57, momentum 0.28, community 0.77, backing 0.55, extensibility 0.00.

- last commit 22 days ago
- 11 commits in the last 90 days
- latest release v1.27.0 3 months ago
- 744 GitHub stars
- 81 contributors
- accepts sponsorship (Github, Github, Patreon)
- backed by RuboCop
- funding: funded by donations

## Related

- Works with [RuboCop](https://talira.ai/catalog/rubocop-rxzhjmy8.md)

## Alternatives

- [RuboCop Rails](https://talira.ai/catalog/rubocop-rails-21peswcr.md): RuboCop extension with cops for Rails best practices and conventions
- [RuboCop](https://talira.ai/catalog/rubocop-rxzhjmy8.md): A Ruby static code analyzer and formatter, based on the community Ruby style guide.
- [Standard Ruby](https://talira.ai/catalog/standard-ruby-zphjehj1.md): Unconfigurable Ruby linter and formatter built on RuboCop
- [RuboCop RSpec](https://talira.ai/catalog/rubocop-rspec-qqbxpw4a.md): RuboCop extension with cops for RSpec test files
- [Herb](https://talira.ai/catalog/herb-q1h23fgr.md): A modern templating language for the HTML+ERB you already have.
- [Reek](https://talira.ai/catalog/reek-bsjs0yfp.md): Code smell detector for Ruby

## Sources

[^1]: https://github.com/rubocop/rubocop-performance/blob/master/LICENSE.txt (checked 27 Nov 2026)
[^2]: https://opencollective.com/rubocop (checked 20 Nov 2026)
[^3]: https://github.com/rubocop/rubocop (checked 20 Nov 2026)
