Chapter 14. Optimization and performance

There is no such thing as fast, only fast enough

Joe Armstrong

This chapter covers

  • How to approach performance tuning
  • Profiling your code using cprof and fprof
  • Caveats and pitfalls of the Erlang programming language

Optimization should only be on your mind when you know you need to shave off those extra milliseconds or kilobytes. That is what the Erlware team needs to do right now. It turns out that having a repository of Erlang software available for download is something that lots of people want. With the improved speed and functionality of the site, thanks in part to the simple cache you’ve implemented, more and more people are hitting the erlware.org site. Efficiency is once again starting to become ...

Get Erlang and OTP in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.