incendium_profile_with_tracing, go back to Incendium.Decorator module for more information.
Decorator. When the decorated function is invoked, it will bd profiled using tracing.
Stack data will be written to incendium/stacks.out.
Note: profiling will be disabled if
Mix.env() == :prod.
This means it's safe(ish) to leave these decorators in a production
It's never a good idea to profile in prod using the
library, as it makes your code run ~10x slower.
defmodule MyApp.UserController do # ... use Incendium.Decorator @decorate incendium_profile_with_tracing() def index(conn, params) do # ... end end