perf: reduce allocations through memoization #3219
Merged
Codecov / codecov/project
succeeded
Mar 31, 2026 in 0s
61.43% (+0.02%) compared to 60c68ea
View this Pull Request on Codecov
61.43% (+0.02%) compared to 60c68ea
Details
Codecov Report
❌ Patch coverage is 58.13953% with 18 lines in your changes missing coverage. Please review.
✅ Project coverage is 61.43%. Comparing base (60c68ea) to head (8d2fef6).
| Files with missing lines | Patch % | Lines |
|---|---|---|
| block/internal/executing/executor.go | 0.00% | 9 Missing |
| types/hashing.go | 73.68% | 2 Missing and 3 partials |
| block/internal/syncing/syncer.go | 0.00% | 3 Missing |
| types/header.go | 66.66% | 1 Missing |
Additional details and impacted files
@@ Coverage Diff @@
## main #3219 +/- ##
==========================================
+ Coverage 61.41% 61.43% +0.02%
==========================================
Files 120 120
Lines 12474 12504 +30
==========================================
+ Hits 7661 7682 +21
- Misses 3953 3960 +7
- Partials 860 862 +2 ☔ 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.
Loading