A summary of data about the Ruby ecosystem.

https://github.com/rubocop/rubocop-performance

An extension of RuboCop focused on code performance checks.
https://github.com/rubocop/rubocop-performance

Keywords

code-formatter hacktoberfest linter rubocop ruby static-code-analysis

Keywords from Contributors

activerecord activejob mvc rspec rubygems rack static-analysis capybara gem sinatra

Last synced: about 13 hours ago
JSON representation

Repository metadata

An extension of RuboCop focused on code performance checks.

README.md

RuboCop Performance

Gem Version
CI
Discord

Performance optimization analysis for your projects, as an extension to RuboCop.

Installation

Just install the rubocop-performance gem

$ gem install rubocop-performance

or if you use bundler put this in your Gemfile

gem 'rubocop-performance', require: false

Usage

You need to tell RuboCop to load the Performance extension. There are three
ways to do this:

RuboCop configuration file

Put this into your .rubocop.yml.

plugins: rubocop-performance

Alternatively, use the following array notation when specifying multiple extensions.

plugins:
  - rubocop-other-extension
  - rubocop-performance

Now you can run rubocop and it will automatically load the RuboCop Performance
cops together with the standard cops.

[!NOTE]
The plugin system is supported in RuboCop 1.72+. In earlier versions, use require instead of plugins.

Command line

$ rubocop --plugin rubocop-performance

Rake task

require 'rubocop/rake_task'

RuboCop::RakeTask.new do |task|
  task.plugins << 'rubocop-performance'
end

The Cops

All cops are located under
lib/rubocop/cop/performance, and contain
examples/documentation.

In your .rubocop.yml, you may treat the Performance cops just like any other
cop. For example:

Performance/Size:
  Exclude:
    - lib/example.rb

Documentation

You can read a lot more about RuboCop Performance in its official docs.

Compatibility

RuboCop Performance is compatible with RuboCop core.

See the compatibility documentation for further details.

Note: Performance cops are all MRI focused and are highly dependent of the version of MRI you're using.

Contributing

Checkout the contribution guidelines.

License

rubocop-performance is MIT licensed. See the accompanying file for
the full text.


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: about 14 hours ago

Total Commits: 905
Total Committers: 79
Avg Commits per committer: 11.456
Development Distribution Score (DDS): 0.42

Commits in past year: 61
Committers in past year: 9
Avg Commits per committer in past year: 6.778
Development Distribution Score (DDS) in past year: 0.344

Name Email Commits
Koichi ITO k****o@g****m 525
Ryan Rosenblum r****m@g****m 67
fatkodima f****3@g****m 30
Alex Dowad a****g@g****m 28
Ted Johansson d****i@g****m 26
Masataka Kuwabara k****a@p****e 22
Teemu t****u@a****n 19
Earlopain 1****n 17
John Backus j****s@g****m 16
Jonas Arvidsson j****4@g****m 9
viralpraxis i****k@g****m 8
Eugene Kenny e****y@g****m 7
Daniel Vandersluis d****s@g****m 7
Garett Arrowood g****d@g****m 7
palkan d****m@g****m 6
Samuel Giddins s****s@s****e 6
Daniel Colson d****n@g****m 6
Bozhidar Batsov b****r@b****m 6
dependabot[bot] 4****] 5
ydah 1****h 5
Piotr Szotkowski c****l@c****t 4
Ryo Nakamura r****a@g****m 4
Tejas Bubane t****e@g****m 3
Leo Arnold g****b@l****e 3
Parker Finch p****h@p****m 3
Benjamin Quorning b****n@q****t 3
Ryusuke Homma r****a@u****m 2
Michael Siegfried m****l@p****m 2
Viktar Basharymau v****u@g****m 2
ymap y****v@g****m 2
and 49 more...

Committer domains:


Issue and Pull Request metadata

Last synced: 1 day ago

Total issues: 112
Total pull requests: 192
Average time to close issues: about 1 month
Average time to close pull requests: about 1 month
Total issue authors: 61
Total pull request authors: 36
Average comments per issue: 1.18
Average comments per pull request: 0.99
Merged pull request: 150
Bot issues: 0
Bot pull requests: 5

Past year issues: 13
Past year pull requests: 45
Past year average time to close issues: 3 days
Past year average time to close pull requests: 4 days
Past year issue authors: 10
Past year pull request authors: 12
Past year average comments per issue: 0.69
Past year average comments per pull request: 0.49
Past year merged pull request: 35
Past year bot issues: 0
Past year bot pull requests: 2

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/rubocop/rubocop-performance

Top Issue Authors

  • ydakuka (30)
  • vlad-pisanov (6)
  • fatkodima (5)
  • forthrin (4)
  • Earlopain (2)
  • corsonknowles (2)
  • dgollahon (2)
  • DannyBen (2)
  • MatzFan (2)
  • viralpraxis (2)
  • wteuber (2)
  • amomchilov (2)
  • tagliala (2)
  • TastyPi (2)
  • sambostock (1)

Top Pull Request Authors

  • koic (66)
  • Earlopain (27)
  • viralpraxis (16)
  • fatkodima (11)
  • r7kamura (6)
  • ydah (6)
  • dvandersluis (6)
  • dependabot[bot] (5)
  • amomchilov (4)
  • leoarnold (4)
  • corsonknowles (4)
  • mvz (2)
  • a-lavis (2)
  • parkerfinch (2)
  • okuramasafumi (2)

Top Issue Labels

  • bug (21)
  • enhancement (17)
  • duplicate (1)

Top Pull Request Labels

  • dependencies (5)
  • github_actions (2)

Package metadata

gem.coop: rubocop-performance

A collection of RuboCop cops to check for performance optimizations in Ruby code.

  • Homepage: https://docs.rubocop.org/rubocop-performance/
  • Documentation: http://www.rubydoc.info/gems/rubocop-performance/
  • Licenses: MIT
  • Latest release: 1.26.1 (published about 2 months ago)
  • Last Synced: 2025-12-15T23:02:17.592Z (1 day ago)
  • Versions: 60
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 262,194,814 Total
  • Docker Downloads: 706,770,739
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 0.057%
    • Downloads: 0.097%
    • Docker downloads count: 0.13%
  • Maintainers (2)
rubygems.org: rubocop-performance

A collection of RuboCop cops to check for performance optimizations in Ruby code.

  • Homepage: https://docs.rubocop.org/rubocop-performance/
  • Documentation: http://www.rubydoc.info/gems/rubocop-performance/
  • Licenses: MIT
  • Latest release: 1.26.1 (published about 2 months ago)
  • Last Synced: 2025-12-15T17:01:17.121Z (1 day ago)
  • Versions: 60
  • Dependent Packages: 1,623
  • Dependent Repositories: 28,810
  • Downloads: 262,109,469 Total
  • Docker Downloads: 706,770,739
  • Rankings:
    • Dependent packages count: 0.033%
    • Downloads: 0.121%
    • Docker downloads count: 0.178%
    • Dependent repos count: 0.209%
    • Average: 0.974%
    • Stargazers count: 2.303%
    • Forks count: 2.997%
  • Maintainers (2)
proxy.golang.org: github.com/rubocop/rubocop-performance


Dependencies

Gemfile rubygems
  • bump >= 0
  • rake >= 0
  • rspec >= 0
  • rubocop >= 0
  • rubocop-rspec ~> 2.9.0
  • simplecov >= 0
  • test-queue >= 0
  • yard ~> 0.9
rubocop-performance.gemspec rubygems
  • rubocop >= 1.7.0, < 2.0
  • rubocop-ast >= 0.4.0

Score: 32.42380522676778