Created
July 23, 2020 23:34
-
-
Save Ajwah/f9fc3a07d636be365c727c1ad09f35b7 to your computer and use it in GitHub Desktop.
Revisions
-
Ajwah created this gist
Jul 23, 2020 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,17 @@ def run_all(path, dest) do :fprof.trace([:start, verbose: true, procs: :all]) "#{path}/*.feature" |> Path.wildcard() |> Enum.map(&execute/1) :fprof.trace(:stop) :fprof.profile() :fprof.analyse(totals: false, dest: '#{dest}.analysis') end def execute(path) do [path: path] |> prepare |> run end