What profilers and analyzers are there for Erlang/OTP?
Asked Answered
C

3

16

Are there any good code profilers/analyzers for Erlang? I need something that can build a call graph (eg gprof) for my code.

Culminate answered 15/10, 2008 at 14:28 Comment(0)
D
12

For static code analysis you have Xref and Dialyzer, for profiling you can use cprof, fprof or eprof, reference here.

Diversify answered 15/10, 2008 at 14:51 Comment(0)
A
7

The 'fprof' module includes profiling features. From the fprof module documentation:

fprof:apply(foo, create_file_slow, [junk, 1024]).
fprof:profile().
fprof:analyse().

fprof:apply (or trace) runs the function, profile converts the trace file into something useful, and analyse prints out the summary. This will give you a list of function calls observed, what called them, and what they called, as well as wall-clock timing info.

Allegedly answered 15/10, 2008 at 14:46 Comment(0)
M
1

Try this one: https://github.com/virtan/eep You could get something like this https://raw.github.com/virtan/eep/master/doc/sshot1.png

Mistress answered 25/11, 2013 at 21:47 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.