feat: Use the jemalloc global allocator in examples

This commit is contained in:
Clément Renault
2019-01-01 16:37:15 +01:00
parent 6731025003
commit b070778d44
4 changed files with 15 additions and 0 deletions

View File

@ -32,6 +32,11 @@ We made some tests on remote machines and found that we can handle with a datase
Network is mesured, servers are located in amsterdam and tests are made between two different datacenters.
### Notes
The default Rust allocator has recently been [changed to use the system allocator](https://github.com/rust-lang/rust/pull/51241/).
We have seen much better performances when [using jemalloc as the global allocator](https://github.com/alexcrichton/jemallocator#documentation).
## Usage and examples