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.
This commit is contained in:
Harendra Kumar 2021-06-11 02:06:17 +05:30 committed by Harendra Kumar
parent a7efa76e76
commit eb16544f98

View File

@ -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
)
}