djkoloski / rust_serialization_benchmark

Benchmarks for rust serialization frameworks
527 stars 48 forks source link

Add memory and code size benchmarks #16

Open sffc opened 3 years ago

sffc commented 3 years ago

It would be useful to see benchmarks on memory usage and code size.

dhat is a Rust crate that provides profiling of heap allocations. One could also use Valgrind. Heap is the most important, but it would also be useful to see stats on stack and static memory.

For code size, I like to follow the instructions on min-sized-rust to remove a lot of the noise in the binary.

I may be able to help with this.