issues
search
rubocop
/
rubocop-performance
An extension of RuboCop focused on code performance checks.
https://docs.rubocop.org/rubocop-performance
MIT License
686
stars
81
forks
source link
issues
Newest
Newest
Most commented
Recently updated
Oldest
Least commented
Least recently updated
New `ZipForArrayWrapping` cop to detect and encourage the performant way to make an array of arrays
#477
corsonknowles
opened
2 weeks ago
0
Caller: use lonely operator to safely call `#first`
#476
chastell
opened
3 weeks ago
0
Cop idea: prefer `String#bytesize` over `String#bytes#size`
#475
viralpraxis
closed
3 weeks ago
3
Add new `Performance/StringBytesize` cop
#474
viralpraxis
closed
3 weeks ago
7
Cop idea: combine chained `select` / `reject` calls
#473
vlad-pisanov
opened
1 month ago
7
Add new rule to prevent using `any?` where user can use `exists?`
#472
loqimean
closed
2 months ago
1
RedundantStringChars is unsafe for autocorrection when string is too short or empty
#471
corsonknowles
opened
2 months ago
0
Autocorrect for `Performance/BigDecimalWithNumericArgument` cop converts an existing code to an invalid code
#470
y-yagi
closed
2 months ago
2
[Fix #468] Fix false positives for `Performance/BigDecimalWithNumericArgument`
#469
koic
closed
2 months ago
0
Problem with BigDecimalWithNumericArgument cop
#468
tycooon
closed
2 months ago
1
Pull in cop benchmarks into the repo itself
#467
Earlopain
opened
2 months ago
1
[Fix #385] Disable `Performance/BlockGivenWithExplicitBlock` by default
#466
Earlopain
closed
2 months ago
3
Fix [#407] Make `Performance/DoubleStartEndWith` aware of safe navigation
#465
Earlopain
closed
2 months ago
1
False positive for Performance/BindCall
#464
TastyPi
closed
2 months ago
3
[Fix #454] Fix false positives for `Performance/BigDecimalWithNumericArgument`
#463
koic
closed
2 months ago
0
Add new `ZipForArrayWrapping` cop
#462
corsonknowles
opened
2 months ago
12
Cop idea: prefer `a.chain(b)` over `a + b` when iterating
#461
vlad-pisanov
opened
3 months ago
0
Enable `InternalAffairs/UndefinedConfig`
#460
Earlopain
closed
3 months ago
0
Remove RuboCop < 1.44 workaround
#459
Earlopain
closed
3 months ago
1
Fix a random test failure for `Performance/Sum`
#458
Earlopain
closed
3 months ago
2
Don't use deprecated `Cop.registry` in specs
#457
Earlopain
closed
3 months ago
1
Detect usages of `methods.include?` and suggest `respond_to?` instead
#456
jacobobq
opened
3 months ago
1
Extend `Performance/Sum` to support method calls
#455
toncid
opened
4 months ago
0
Correcting `Performance/BigDecimalWithNumericArgument` offences leads to slower code
#454
owst
closed
2 months ago
5
Fix readme CI badge
#453
Earlopain
closed
6 months ago
0
Fix error for `Performance/RedundantEqualityComparisonBlock` when block is empty
#452
Earlopain
closed
6 months ago
0
Restore skipped specs for Prism
#451
koic
closed
6 months ago
0
Improve explanation for safety of `MapCompact` autocorrection in docs
#450
Splines
closed
7 months ago
3
[Fix #448] Fix a false positive for `Performance/RedundantBlockCall`
#449
koic
closed
8 months ago
0
Performance/RedundantBlockCall produces invalid code
#448
TastyPi
closed
8 months ago
0
Cop idea: 2.6+ detect `Hash#merge` chain and suggest a single call to merge
#447
tagliala
closed
8 months ago
2
Support Prism as a Ruby parser
#446
koic
closed
8 months ago
0
[Fix #444] Fix an incorrect autocorrect for `Performance/BlockGivenWi…
#445
a-lavis
opened
9 months ago
0
`Naming/BlockForwarding` and `Performance/BlockGivenWithExplicitBlock` combined safe autocorrect results in invalid code
#444
a-lavis
opened
9 months ago
1
[Fix #240] Disable `Performance/Casecmp` cop
#443
koic
closed
9 months ago
0
Spaceship operator (`<=>`) incorrectly displays rendered as ligature `<⇒` in docs
#442
sambostock
opened
9 months ago
0
Suggest: Disable String#casecmp cop for non-ASCII strings
#441
MaratKarimov21
closed
9 months ago
1
Add Performance::NumericPredicate cop
#440
miry
opened
9 months ago
2
[Fix #437] Fix a false positive for `Performance/ChainArrayAllocation`
#439
koic
closed
10 months ago
0
Autocorrection for Performance/ConstantRegexp is not working with pattern matching
#438
morissetcl
opened
10 months ago
2
Incorrect recommendation suggested by Performance/ChainArrayAllocation Cop
#437
matthewhively
closed
10 months ago
0
Autocorrection support on `Performance/MapMethodChain`
#436
r7kamura
closed
10 months ago
2
Add new `ArrayConcatLiteral` cop to replace `a.concat([1, 2, 3])` with `a.push(1, 2, 3)`
#435
amomchilov
closed
10 months ago
1
Cop idea: prefer `push(...)` over `concat([...])`
#434
amomchilov
closed
10 months ago
2
Add new `ArrayPushSingle` cop to replace `a.push(x)` with `a << x`
#433
amomchilov
opened
10 months ago
2
Cop idea: replace `list = list.select {...}` with `list.select! {...}`
#432
vlad-pisanov
opened
10 months ago
2
Cop idea: prefer `<<` over `push`
#431
amomchilov
opened
10 months ago
0
[Fix #425] Fix a false positive for`Performance/StringIdentifierArgument
#430
Earlopain
closed
11 months ago
1
CI against Ruby 3.3
#429
koic
closed
11 months ago
0
Fix false negatives for `Performance/StringIdentifierArgument`
#428
koic
closed
11 months ago
0
Next