Distel supports profiling function calls via the OTP
application. This is a very convenient profiler, in that it doesn't
require any special compiler options or initialisation – you can use
it whenever you want.
After an expression is profiled, the results are popped up in “profiler results” buffer. The buffer contains one line to describe each function that was called, with the following columns:
Furthermore, pressing RET on a summary line in the results buffer will pop up another buffer showing more information about the function: how much time it spent on behalf of each of its callers, and how much time it spent in each of its subfunctions.