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.
commiteb16544f9822b817ca245aaada966da20f14e2a3
authorHarendra Kumar <harendra@composewell.com>
dateFri 11 Jun 2021, 02:06 (5 years ago)
parenta7efa76
benchmark/Chart.hs+1−1
@@ -186,7 +186,7 @@ main = do
186186 { presentation = Groups PercentDiff
187187 , selectBenchmarks = selectBench (sortByName opts)
188188 , selectFields = filter
189− ( flip elem fs
189+ ( flip elem (fmap (fmap toLower) fs)
190190 . fmap toLower
191191 )
192192 }