art049 / memory-allocator-performance-rs

Code for the talk "The impact. of memory allocators on performance in Rust"

Repository from Github https://github.comart049/memory-allocator-performance-rsRepository from Github https://github.comart049/memory-allocator-performance-rs

The impact of memory allocators on performance in Rust

Structure

  • Allocators implementing the unstable Allocator API are under src/allocators

  • The global allocator implementing GlobalAlloc are under src/global_alloc

  • benchmarks are under benches

Running the benchmarks locally

To use the allocator_api feature, you will need the nightly toolchain.

Install cargo-criterion:

cargo install cargo-criterion

Run the benchmarks:

cargo criterion

About

Code for the talk "The impact. of memory allocators on performance in Rust"

License:ISC License


Languages

Language:Rust 100.0%