Created
February 6, 2017 02:07
-
-
Save tlvenn/128c513c2b36edc784dd8383217250fd to your computer and use it in GitHub Desktop.
Trace phase timings in Absinthe
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:dbg.tracer() | |
:dbg.p(:all, [:call, :arity, :timestamp]) | |
:dbg.tpl(Absinthe.Pipeline, :run_phase, 3, | |
[{[[{:"$1",:_}|:_],:_,:_],[],[{:message,:"$1"}]}, | |
{[[:"$1"|:_],:_,:_],[],[{:message,:"$1"}]}]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To turn off the tracing:
:dbg.stop_clear