ExProf – A simple code profiler for Elixir using eprof
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.