     end
   end
 
+  defp bench_func_name(bench_name) do
+    :"bench:#{bench_name}"
+  end
+
   defp fatal(msg) do
     IO.puts :stderr, ["** (Error) ", msg]
     System.halt(1)


  defp run_bench({mod, func}, log_msg_func, config, mod_context) do
    run_bench_with_context(mod, mod_context, log_msg_func.(func), fn context ->
      inputs = apply(mod, func, [context])
      measure_func(mod, func, context, inputs, config)
    end)
  end


  @bench_sec 1
  @default_outdir "bench/snapshots"

  @setup_func :"bench:__setup__"
  @teardown_func :"bench:__teardown__"

  @before_each_func :"bench:__before_each__"
  @after_each_func :"bench:__after_each__"

  alias Benchfella.Snapshot

