Skip to content

Reuse the tabwriter to avoid excess allocations

2ffceb8
Select commit
Loading
Failed to load commit list.
Merged

Performance wins across the board #211

Reuse the tabwriter to avoid excess allocations
2ffceb8
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 23, 2026 in 0s

85.67% (+0.71%) compared to 165d802

View this Pull Request on Codecov

85.67% (+0.71%) compared to 165d802

Details

Codecov Report

❌ Patch coverage is 87.57764% with 20 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.67%. Comparing base (165d802) to head (2ffceb8).

Files with missing lines Patch % Lines
command.go 72.50% 8 Missing and 3 partials ⚠️
internal/flag/set.go 85.36% 3 Missing and 3 partials ⚠️
internal/style/style.go 0.00% 2 Missing ⚠️
internal/flag/flag.go 98.71% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #211      +/-   ##
==========================================
+ Coverage   84.96%   85.67%   +0.71%     
==========================================
  Files           9        9              
  Lines        2088     1592     -496     
==========================================
- Hits         1774     1364     -410     
+ Misses        245      172      -73     
+ Partials       69       56      -13     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.