mirage / irmin

Irmin is a distributed database that follows the same design principles as Git
https://irmin.org
ISC License
1.83k stars 154 forks source link

WIP: irmin-pack.unix: Measure IO activity. #2250

Open adatario opened 1 year ago

adatario commented 1 year ago

This adds counters that meassure i/o activity at file level.

codecov-commenter commented 1 year ago

Codecov Report

Merging #2250 (945791d) into main (1f046dd) will decrease coverage by 0.07%. The diff coverage is 71.42%.

:exclamation: Current head 945791d differs from pull request most recent head 0557349. Consider uploading reports for the commit 0557349 to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff             @@
##             main    #2250      +/-   ##
==========================================
- Coverage   68.15%   68.09%   -0.07%     
==========================================
  Files         137      137              
  Lines       16669    16692      +23     
==========================================
+ Hits        11361    11366       +5     
- Misses       5308     5326      +18     
Impacted Files Coverage Δ
src/irmin-pack/unix/stats_intf.ml 85.00% <ø> (ø)
src/irmin-pack/unix/io.ml 66.10% <71.42%> (-0.28%) :arrow_down:
src/irmin-pack/unix/stats.ml 56.60% <71.42%> (+3.66%) :arrow_up:

... and 3 files with indirect coverage changes

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