以下是Rust在Debian上的性能调优方法:
opt-level=3
codegen-units=1
panic=abort
Cargo.toml
RUSTFLAGS
vm.swappiness
jemalloc
perf
valgrind
cargo bench