From b17507f88581672a8a1d30e624e57cd58caeeeb4 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Fri, 14 Dec 2018 23:22:25 +0100 Subject: Try criterion for benchmarking --- 2018/Cargo.toml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to '2018/Cargo.toml') diff --git a/2018/Cargo.toml b/2018/Cargo.toml index 484f482..7559108 100644 --- a/2018/Cargo.toml +++ b/2018/Cargo.toml @@ -8,3 +8,10 @@ edition = "2018" argparse = "0.2.2" regex = "1" lazy_static = "1.2.0" + +[dev-dependencies] +criterion = "0.2" + +[[bench]] +name = "day_benchmark" +harness = false -- cgit v1.2.3-70-g09d2