al8n / rarena

Lock-free ARENA allocator and a set of lock-free data structures based on the ARENA allocator.
Apache License 2.0
8 stars 1 forks source link

Optimize dealloc and add file lock APIs #5

Closed al8n closed 5 months ago

codecov[bot] commented 5 months ago

Codecov Report

Attention: Patch coverage is 74.33155% with 48 lines in your changes missing coverage. Please review.

Project coverage is 63.56%. Comparing base (89c2412) to head (314996c).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #5 +/- ## ========================================== + Coverage 62.81% 63.56% +0.74% ========================================== Files 9 9 Lines 1471 1589 +118 ========================================== + Hits 924 1010 +86 - Misses 547 579 +32 ``` | [Files](https://app.codecov.io/gh/al8n/rarena/pull/5?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu) | Coverage Δ | | |---|---|---| | [rarena-allocator/src/arena/bytes.rs](https://app.codecov.io/gh/al8n/rarena/pull/5?src=pr&el=tree&filepath=rarena-allocator%2Fsrc%2Farena%2Fbytes.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu#diff-cmFyZW5hLWFsbG9jYXRvci9zcmMvYXJlbmEvYnl0ZXMucnM=) | `21.00% <ø> (+10.00%)` | :arrow_up: | | [rarena-allocator/src/arena/tests.rs](https://app.codecov.io/gh/al8n/rarena/pull/5?src=pr&el=tree&filepath=rarena-allocator%2Fsrc%2Farena%2Ftests.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu#diff-cmFyZW5hLWFsbG9jYXRvci9zcmMvYXJlbmEvdGVzdHMucnM=) | `98.75% <100.00%> (+0.29%)` | :arrow_up: | | [rarena-allocator/src/options/open\_options.rs](https://app.codecov.io/gh/al8n/rarena/pull/5?src=pr&el=tree&filepath=rarena-allocator%2Fsrc%2Foptions%2Fopen_options.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu#diff-cmFyZW5hLWFsbG9jYXRvci9zcmMvb3B0aW9ucy9vcGVuX29wdGlvbnMucnM=) | `97.36% <80.00%> (+4.84%)` | :arrow_up: | | [rarena-allocator/src/arena.rs](https://app.codecov.io/gh/al8n/rarena/pull/5?src=pr&el=tree&filepath=rarena-allocator%2Fsrc%2Farena.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu#diff-cmFyZW5hLWFsbG9jYXRvci9zcmMvYXJlbmEucnM=) | `61.40% <66.17%> (-0.27%)` | :arrow_down: | ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/al8n/rarena/pull/5?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/al8n/rarena/pull/5?dropdown=coverage&src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu). Last update [89c2412...314996c](https://app.codecov.io/gh/al8n/rarena/pull/5?dropdown=coverage&src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu).