update day5 bench

This commit is contained in:
Caleb Webber 2023-12-11 23:49:12 -05:00
parent 71af749206
commit 14378b50b6

View file

@ -1,8 +1,8 @@
{_, content} = File.read("./input/2023_5.txt")
input = content |> String.split("\n") |> Mix.Tasks.Day5.parse()
Benchee.run(
%{
"day5_part2" => fn -> input |> Mix.Tasks.Day5.part2() end
"day5_part2" => fn -> content |> String.split("\n") |> Mix.Tasks.Day5.parse() |> Mix.Tasks.Day5.part2() end
}
)