Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #861 +/- ##
==========================================
- Coverage 92.33% 92.16% -0.18%
==========================================
Files 35 36 +1
Lines 7490 7607 +117
Branches 390 402 +12
==========================================
+ Hits 6916 7011 +95
- Misses 433 448 +15
- Partials 141 148 +7 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Commit 4119378 has test result changes: GNU findutils testsuite: bfs testsuite: |
Merging this PR will improve performance by 61.06%
|
| Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|
| ⚡ | regex_path |
51.4 ms | 24.6 ms | ×2.1 |
| ⚡ | combined_expr |
52.7 ms | 28.6 ms | +84.24% |
| ⚡ | iname_glob |
35.6 ms | 22.4 ms | +59.13% |
| ⚡ | prune |
13.4 ms | 8.5 ms | +58.43% |
| ⚡ | name_glob |
35 ms | 22.4 ms | +56.77% |
| ⚡ | build_pruned |
33.3 ms | 24.1 ms | +38.02% |
| ⚡ | regex |
30.5 ms | 22.8 ms | +33.99% |
Tip
Curious why performance improved? Comment @codspeedbot explain why performance improved on this PR, or directly use the CodSpeed MCP with your agent.
Comparing wtcpython:replace-onig-with-fancy-regex (6ad403c) with main (fda8855)
4119378 to
1d1cb46
Compare
| } | ||
|
|
||
| match chars.next() { | ||
| Some('(') => output.push('('), |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
|
|
||
| while let Some(ch) = chars.next() { | ||
| if ch != '\\' { | ||
| if matches!(ch, '(' | ')' | '{' | '}') { |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
|
Commit 1d1cb46 has test result changes: bfs testsuite: |
This comment was marked as resolved.
This comment was marked as resolved.
1d1cb46 to
74366fe
Compare
74366fe to
d606209
Compare
|
Commit 74366fe has test result changes: bfs testsuite: |
|
Commit d606209 has test result changes: bfs testsuite: |
d606209 to
6ad403c
Compare
|
Commit 6ad403c has test result changes: bfs testsuite: |
|
I've been made aware of the series of changes for uutils to migrate away from onig via uutils/grep#117. I'd like to also mention here, that this PR regresses matches that rely on leftmost longest semantics. Example: touch a ab
find a ab -regex 'a\|z' |
|
note that I have a PR prepared for fancy-regex to enable leftmost longest match mode: fancy-regex/fancy-regex#281 |
|
cool, thanks :) |
Closes #212