Open
Description
Given that gitoxide is allocating memory and working across many threads, it would be worthwhile to benchmark using alternate memory allocators.
It'd be trivial to test jemalloc
: just use the jemallocator
crate from the top-level gitoxide bin crate, following the instructions in its README.
The scudo
allocator has even more performance, as well as some resilience against some kinds of security-related bugs. See https://expertmiami.blogspot.com/2019/05/what-is-scudo-hardened-allocator_10.html for performance information. However, it isn't packaged for Rust yet, so it won't be quite as easy to try.