Erlang Programming/Performance and Optimization

From Wikibooks, open books for an open world
< Erlang Programming
Jump to: navigation, search

Profiling[edit]

There are a number of profiling libraries available:

  • cprof
  • eprof
  • fprof

Profiling of any kind has a runtime performance penalty - the reason for the different libraries above is their different trade-offs in terms of profiling precision and the performance penalty for using them.