Home

Awesome

vprof

Visual Erlang Profiler

Usage

Check vprof.erl for public api details.

Collect

%% Trace target node for 2 seconds
%% By default output is written to vprof.trace file
1> vprof:trace(2).  
ok

Analyze

%% Process data - on any node. By default reads vprof.trace and writes to vprof.out
2> vprof:profile().
vprof: Profiling vprof.trace. This may take several minutes.
<0.47.0>
vprof: End of trace in 1 seconds.
vprof: Done in 1 seconds.
Check vprof.out to see results or run
vprof:gui("vprof.out").

View

3> vprof:gui().

GUI