-
Rust development environment
-
C compiler
-
tools released with jemalloc
$ sudo apt install libjemalloc-dev
$ cargo build && _RJEM_MALLOC_CONF="prof:true" target/debug/h
$ jeprof --base=test.0.hprof --pdf target/debug/h test.10.hprof > test.pdf
An example for profiling heap by jemalloc in Rust
Rust development environment
C compiler
tools released with jemalloc
$ sudo apt install libjemalloc-dev
$ cargo build && _RJEM_MALLOC_CONF="prof:true" target/debug/h
$ jeprof --base=test.0.hprof --pdf target/debug/h test.10.hprof > test.pdf
An example for profiling heap by jemalloc in Rust