Skip to content

Reduce peak memory in getFileHashes #1259

Open
jmhobbs wants to merge 1 commit into
mainfrom
hrh.fixbufferallocation
Open

Reduce peak memory in getFileHashes #1259
jmhobbs wants to merge 1 commit into
mainfrom
hrh.fixbufferallocation

Reduce peak memory in `getFileHashes` by pooling read buffers instead…

0e42bc5
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Mar 27, 2026 in 0s

72.46% (+0.23%) compared to c175ff8

View this Pull Request on Codecov

72.46% (+0.23%) compared to c175ff8

Details

Codecov Report

❌ Patch coverage is 87.23404% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 72.46%. Comparing base (c175ff8) to head (0e42bc5).

Files with missing lines Patch % Lines
node-src/lib/getFileHashes.ts 87.23% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1258      +/-   ##
==========================================
+ Coverage   72.22%   72.46%   +0.23%     
==========================================
  Files         208      208              
  Lines        7918     7961      +43     
  Branches     1435     1450      +15     
==========================================
+ Hits         5719     5769      +50     
+ Misses       2177     2170       -7     
  Partials       22       22              

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.