miktam / sizeof

Get size of a JavaScript object
MIT License
301 stars 45 forks source link

Precise string calculation in Node. #80

Closed miktam closed 1 year ago

miktam commented 1 year ago

Fixes https://github.com/miktam/sizeof/pull/68

String calculations in Node is based on https://stackoverflow.com/questions/68789144/how-much-memory-do-v8-take-to-store-a-string/68791382#68791382

codecov-commenter commented 1 year ago

Codecov Report

Merging #80 (fc56801) into master (d2dcd1d) will increase coverage by 0.48%. The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##           master      #80      +/-   ##
==========================================
+ Coverage   95.74%   96.22%   +0.48%     
==========================================
  Files           2        2              
  Lines          47       53       +6     
==========================================
+ Hits           45       51       +6     
  Misses          2        2              
Impacted Files Coverage Δ
indexv2.js 96.15% <100.00%> (+0.50%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more