Identifying Bottlenecks with ExProf
Learn how to use a profiler to identify any bottlenecks.
We'll cover the following...
Adding ExProf
to the framework
ExProf is an Elixir profiling tool that wraps around Erlang’s :eprof
. A profiler tells us about the behavior of our code and helps you determine where to optimize.
To start using ExProf
, first, add it as a dependency:
Press + to interact
defp deps do# ...{:exprof, "~> 0.2.0"}# ...end
...