danielealbano / cachegrand

cachegrand - a modern data ingestion, processing and serving platform built for today's hardware
BSD 3-Clause "New" or "Revised" License
975 stars 34 forks source link

Implement mimalloc #230

Closed danielealbano closed 2 years ago

danielealbano commented 2 years ago

This PR switch xalloc to use mimalloc internally instead of using it via LD_PRELOAD

codecov[bot] commented 2 years ago

Codecov Report

Base: 80.89% // Head: 80.85% // Decreases project coverage by -0.03% :warning:

Coverage data is based on head (c5a5299) compared to base (311a9bc). Patch coverage: 80.77% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #230 +/- ## ========================================== - Coverage 80.89% 80.85% -0.03% ========================================== Files 152 152 Lines 8706 8707 +1 ========================================== - Hits 7042 7040 -2 - Misses 1664 1667 +3 ``` | [Impacted Files](https://codecov.io/gh/danielealbano/cachegrand/pull/230?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Daniele+Salvatore+Albano) | Coverage Δ | | |---|---|---| | [...ctures/small\_circular\_queue/small\_circular\_queue.c](https://codecov.io/gh/danielealbano/cachegrand/pull/230/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Daniele+Salvatore+Albano#diff-c3JjL2RhdGFfc3RydWN0dXJlcy9zbWFsbF9jaXJjdWxhcl9xdWV1ZS9zbWFsbF9jaXJjdWxhcl9xdWV1ZS5j) | `90.48% <ø> (ø)` | | | [src/log/log.c](https://codecov.io/gh/danielealbano/cachegrand/pull/230/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Daniele+Salvatore+Albano#diff-c3JjL2xvZy9sb2cuYw==) | `100.00% <ø> (ø)` | | | [...ule/redis/command/module\_redis\_command\_randomkey.c](https://codecov.io/gh/danielealbano/cachegrand/pull/230/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Daniele+Salvatore+Albano#diff-c3JjL21vZHVsZS9yZWRpcy9jb21tYW5kL21vZHVsZV9yZWRpc19jb21tYW5kX3JhbmRvbWtleS5j) | `0.00% <0.00%> (ø)` | | | [src/program.c](https://codecov.io/gh/danielealbano/cachegrand/pull/230/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Daniele+Salvatore+Albano#diff-c3JjL3Byb2dyYW0uYw==) | `26.26% <0.00%> (-0.09%)` | :arrow_down: | | [...a\_structures/hashtable/mcmp/hashtable\_op\_get\_key.c](https://codecov.io/gh/danielealbano/cachegrand/pull/230/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Daniele+Salvatore+Albano#diff-c3JjL2RhdGFfc3RydWN0dXJlcy9oYXNodGFibGUvbWNtcC9oYXNodGFibGVfb3BfZ2V0X2tleS5j) | `79.41% <50.00%> (ø)` | | | [src/config.c](https://codecov.io/gh/danielealbano/cachegrand/pull/230/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Daniele+Salvatore+Albano#diff-c3JjL2NvbmZpZy5j) | `98.47% <100.00%> (ø)` | | | [...rc/data\_structures/hashtable/mcmp/hashtable\_data.c](https://codecov.io/gh/danielealbano/cachegrand/pull/230/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Daniele+Salvatore+Albano#diff-c3JjL2RhdGFfc3RydWN0dXJlcy9oYXNodGFibGUvbWNtcC9oYXNodGFibGVfZGF0YS5j) | `81.82% <100.00%> (ø)` | | | [...ta\_structures/hashtable/mcmp/hashtable\_op\_delete.c](https://codecov.io/gh/danielealbano/cachegrand/pull/230/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Daniele+Salvatore+Albano#diff-c3JjL2RhdGFfc3RydWN0dXJlcy9oYXNodGFibGUvbWNtcC9oYXNodGFibGVfb3BfZGVsZXRlLmM=) | `98.08% <100.00%> (ø)` | | | [.../data\_structures/hashtable/mcmp/hashtable\_op\_rmw.c](https://codecov.io/gh/danielealbano/cachegrand/pull/230/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Daniele+Salvatore+Albano#diff-c3JjL2RhdGFfc3RydWN0dXJlcy9oYXNodGFibGUvbWNtcC9oYXNodGFibGVfb3Bfcm13LmM=) | `98.21% <100.00%> (ø)` | | | [.../data\_structures/hashtable/mcmp/hashtable\_op\_set.c](https://codecov.io/gh/danielealbano/cachegrand/pull/230/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Daniele+Salvatore+Albano#diff-c3JjL2RhdGFfc3RydWN0dXJlcy9oYXNodGFibGUvbWNtcC9oYXNodGFibGVfb3Bfc2V0LmM=) | `100.00% <100.00%> (ø)` | | | ... and [6 more](https://codecov.io/gh/danielealbano/cachegrand/pull/230/diff?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Daniele+Salvatore+Albano) | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Daniele+Salvatore+Albano). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Daniele+Salvatore+Albano)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.