miktam / sizeof

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

Added function support #76

Closed miktam closed 1 year ago

miktam commented 1 year ago

Fixes https://github.com/miktam/sizeof/issues/66

Please note that this will give you the size of the function in bytes when it's represented as a string, which might be different from the actual size of the function in memory. The actual size of a function can be influenced by many factors such as the amount of data it's using,the number of properties or variables, the size of the function code and so on.

codecov-commenter commented 1 year ago

Codecov Report

Merging #76 (3c6f04d) into master (18e5d95) will increase coverage by 0.24%. 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      #76      +/-   ##
==========================================
+ Coverage   95.58%   95.83%   +0.24%     
==========================================
  Files           2        2              
  Lines          68       48      -20     
==========================================
- Hits           65       46      -19     
+ Misses          3        2       -1     
Impacted Files Coverage Δ
indexv2.js 95.74% <100.00%> (+0.22%) :arrow_up:

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