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

Allocate in same page #6

Closed al8n closed 3 months ago

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 31.78191% with 513 lines in your changes missing coverage. Please review.

Project coverage is 53.20%. Comparing base (5a6a387) to head (7881b6c). Report is 1 commits behind head on main.

Files Patch % Lines
rarena-allocator/src/sync.rs 15.20% 212 Missing :warning:
rarena-allocator/src/lib.rs 23.02% 107 Missing :warning:
rarena-allocator/src/unsync/bytes.rs 16.93% 103 Missing :warning:
rarena-allocator/src/unsync/object.rs 44.77% 74 Missing :warning:
rarena-allocator/src/sync/bytes.rs 0.00% 8 Missing :warning:
rarena-allocator/src/sync/object.rs 0.00% 6 Missing :warning:
rarena-allocator/src/error.rs 0.00% 2 Missing :warning:
rarena-allocator/src/unsync/tests.rs 98.78% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #6 +/- ## ========================================== - Coverage 61.98% 53.20% -8.78% ========================================== Files 9 15 +6 Lines 1736 3458 +1722 ========================================== + Hits 1076 1840 +764 - Misses 660 1618 +958 ``` | [Files](https://app.codecov.io/gh/al8n/rarena/pull/6?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/sync/tests.rs](https://app.codecov.io/gh/al8n/rarena/pull/6?src=pr&el=tree&filepath=rarena-allocator%2Fsrc%2Fsync%2Ftests.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu#diff-cmFyZW5hLWFsbG9jYXRvci9zcmMvc3luYy90ZXN0cy5ycw==) | `98.75% <ø> (ø)` | | | [...-allocator/src/sync/tests/pessimistic\_slow\_path.rs](https://app.codecov.io/gh/al8n/rarena/pull/6?src=pr&el=tree&filepath=rarena-allocator%2Fsrc%2Fsync%2Ftests%2Fpessimistic_slow_path.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu#diff-cmFyZW5hLWFsbG9jYXRvci9zcmMvc3luYy90ZXN0cy9wZXNzaW1pc3RpY19zbG93X3BhdGgucnM=) | `100.00% <ø> (ø)` | | | [rarena-allocator/src/unsync.rs](https://app.codecov.io/gh/al8n/rarena/pull/6?src=pr&el=tree&filepath=rarena-allocator%2Fsrc%2Funsync.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu#diff-cmFyZW5hLWFsbG9jYXRvci9zcmMvdW5zeW5jLnJz) | `49.82% <ø> (ø)` | | | [...llocator/src/unsync/tests/pessimistic\_slow\_path.rs](https://app.codecov.io/gh/al8n/rarena/pull/6?src=pr&el=tree&filepath=rarena-allocator%2Fsrc%2Funsync%2Ftests%2Fpessimistic_slow_path.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu#diff-cmFyZW5hLWFsbG9jYXRvci9zcmMvdW5zeW5jL3Rlc3RzL3Blc3NpbWlzdGljX3Nsb3dfcGF0aC5ycw==) | `100.00% <100.00%> (ø)` | | | [rarena-allocator/src/unsync/tests.rs](https://app.codecov.io/gh/al8n/rarena/pull/6?src=pr&el=tree&filepath=rarena-allocator%2Fsrc%2Funsync%2Ftests.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu#diff-cmFyZW5hLWFsbG9jYXRvci9zcmMvdW5zeW5jL3Rlc3RzLnJz) | `98.78% <98.78%> (ø)` | | | [rarena-allocator/src/error.rs](https://app.codecov.io/gh/al8n/rarena/pull/6?src=pr&el=tree&filepath=rarena-allocator%2Fsrc%2Ferror.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu#diff-cmFyZW5hLWFsbG9jYXRvci9zcmMvZXJyb3IucnM=) | `11.11% <0.00%> (-0.89%)` | :arrow_down: | | [rarena-allocator/src/sync/object.rs](https://app.codecov.io/gh/al8n/rarena/pull/6?src=pr&el=tree&filepath=rarena-allocator%2Fsrc%2Fsync%2Fobject.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu#diff-cmFyZW5hLWFsbG9jYXRvci9zcmMvc3luYy9vYmplY3QucnM=) | `44.77% <0.00%> (ø)` | | | [rarena-allocator/src/sync/bytes.rs](https://app.codecov.io/gh/al8n/rarena/pull/6?src=pr&el=tree&filepath=rarena-allocator%2Fsrc%2Fsync%2Fbytes.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu#diff-cmFyZW5hLWFsbG9jYXRvci9zcmMvc3luYy9ieXRlcy5ycw==) | `17.50% <0.00%> (ø)` | | | [rarena-allocator/src/unsync/object.rs](https://app.codecov.io/gh/al8n/rarena/pull/6?src=pr&el=tree&filepath=rarena-allocator%2Fsrc%2Funsync%2Fobject.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu#diff-cmFyZW5hLWFsbG9jYXRvci9zcmMvdW5zeW5jL29iamVjdC5ycw==) | `44.77% <44.77%> (ø)` | | | [rarena-allocator/src/unsync/bytes.rs](https://app.codecov.io/gh/al8n/rarena/pull/6?src=pr&el=tree&filepath=rarena-allocator%2Fsrc%2Funsync%2Fbytes.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu#diff-cmFyZW5hLWFsbG9jYXRvci9zcmMvdW5zeW5jL2J5dGVzLnJz) | `16.93% <16.93%> (ø)` | | | ... and [2 more](https://app.codecov.io/gh/al8n/rarena/pull/6?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu) | | ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/al8n/rarena/pull/6?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/6?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 [5a6a387...7881b6c](https://app.codecov.io/gh/al8n/rarena/pull/6?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).