webpack / watchpack

Wrapper library for directory and file watching.
MIT License
377 stars 105 forks source link

improve watcher update performance #208

Closed sokra closed 2 years ago

sokra commented 2 years ago

measurements show a 13x improvement

codecov[bot] commented 2 years ago

Codecov Report

Merging #208 (dec2905) into main (0d90321) will decrease coverage by 0.53%. The diff coverage is 86.84%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #208      +/-   ##
==========================================
- Coverage   92.58%   92.05%   -0.54%     
==========================================
  Files           6        6              
  Lines        1039     1070      +31     
  Branches      246      258      +12     
==========================================
+ Hits          962      985      +23     
- Misses         77       85       +8     
Flag Coverage Δ
integration 92.05% <86.84%> (-0.54%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
lib/watchpack.js 92.21% <86.84%> (-2.48%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 0d90321...dec2905. Read the comment docs.