ExProf – A simple code profiler for Elixir using eprof

https://github.com/parroty/exprof

While I was working on exvcr, there were some issues on performance. So, I made up a mind to look for profiling capability.

Erlang provides several profilers as indicated in Efficiency Guide – 11 Profiling, and I tried to write a wrapper library.

The “fprof” library seems to provide detailed information, but output structure is a little cryptic, and also difficult to parse. So, I decided to go with simpler “eprof” as a first approach. It may be enough for simple checking on bottlenecks, though it doesn’t have absolute time (only relative %) and is forced to print out to screen.

Advertisements

Posted on October 13, 2013, in Elixir, Software Design. Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: