Skip to content

perf(error): cut intermediate allocations in LogValue, ToMap and formatVerbose#135

Merged
samber merged 2 commits into
mainfrom
perf/logvalue-tomap-formatverbose-allocs
Jul 5, 2026
Merged

perf(error): cut intermediate allocations in LogValue, ToMap and formatVerbose#135
samber merged 2 commits into
mainfrom
perf/logvalue-tomap-formatverbose-allocs

perf(error): take writePrefixedLines' input as []byte instead of string

bf516c4
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 5, 2026 in 0s

90.43% (+0.26%) compared to 470a3a2

View this Pull Request on Codecov

90.43% (+0.26%) compared to 470a3a2

Details

Codecov Report

❌ Patch coverage is 93.10345% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 90.43%. Comparing base (470a3a2) to head (bf516c4).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
error.go 93.10% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #135      +/-   ##
==========================================
+ Coverage   90.17%   90.43%   +0.26%     
==========================================
  Files          15       15              
  Lines        1231     1234       +3     
==========================================
+ Hits         1110     1116       +6     
+ Misses         96       93       -3     
  Partials       25       25              

☔ View full report in Codecov by Harness.
📢 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.