From eb16544f9822b817ca245aaada966da20f14e2a3 Mon Sep 17 00:00:00 2001 From: Harendra Kumar Date: Fri, 11 Jun 2021 02:06:17 +0530 Subject: [PATCH] Use lowercased comparison for benchmark fields For case insensitive comparison we were lowercasing the fields in the benchmark csv header but not the fields being compared. So the fields were not matching if we passed them in mixed case. --- benchmark/Chart.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark/Chart.hs b/benchmark/Chart.hs index cec85c70..28cf92a9 100644 --- a/benchmark/Chart.hs +++ b/benchmark/Chart.hs @@ -186,7 +186,7 @@ main = do { presentation = Groups PercentDiff , selectBenchmarks = selectBench (sortByName opts) , selectFields = filter - ( flip elem fs + ( flip elem (fmap (fmap toLower) fs) . fmap toLower ) }