Fast performance metrics for Erlang