There's nothing inherently slow about the way you structure a program in Erlang. Most of the problems come from copying values around when sending them across processes.
It's not the slowest language either; it has a decent performance advantage over most of the dynamic scripting languages. But it is quite distinctly slower than Go, let alone Rust.