Did you build with --release?
The single most important Rust performance tip is simple but easy to overlook: make sure you are using a release build rather than a debug build when you want high performance. This is most often done by specifying the
--releaseflag to Cargo.A release build typically runs much faster than a debug build. 10-100x speedups over debug builds are common!