This book is not a guide on writing code or performance tuning, but it provides detailed information on understanding the performance of your Erlang application. It covers topics like profiling, tracing, and performance tuning in the last few chapters, but its main goal is to give you a thorough understanding of the Erlang Runtime System (ERTS) and how it works. The book is useful for tuning an Erlang installation, debugging VM crashes, improving performance, understanding how Erlang works, and building your own runtime environment. It is assumed that the reader has a basic understanding of Erlang.
https://blog.stenmans.org/theBeamBook/