Commit 99861cca authored by rinpatch's avatar rinpatch

Start the myhtmlex app before benchmarking

parent 3618435b
Pipeline #19601 passed with stage
in 1 minute and 49 seconds
......@@ -6,6 +6,8 @@ defmodule Mix.Tasks.FastSanitize.Bench do
@input_dir "lib/mix/tasks/fast_sanitize/html"
def run(_) do
Application.ensure_all_started(:myhtmlex)
inputs =
Enum.reduce(File.ls!(@input_dir), %{}, fn input_name, acc ->
input = File.read!(Path.join(@input_dir, input_name))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment