@@ -185,16 +185,19 @@ showComparisons Options{..} cfg inp out =
185185 where
186186
187187 separator = if useGauge then '/' else '.'
188− dropComponent = dropWhile (== separator) . dropWhile (/= separator)
188+ dropComponent sep = dropWhile (== sep) . dropWhile (/= sep)
189189
190+ -- In case of tasty-bench the names could be like
191+ -- All.Data.Array.Prim.Pinned/o-1-space.generation.show
192+ -- All.Data.Array.Foreign/o-1-space.generation.show
190193 classifyComparison b =
191194 let b1 =
192195 if useGauge
193196 then b
194− else dropComponent b --- drop "All." at the beginning
197+ else dropComponent separator b --- drop "All." at the beginning
195198 in Just
196− ( takeWhile (/= separator) b1
197− , dropComponent b1
199+ ( takeWhile (/= '/') b1
200+ , dropComponent '/' b1 -- for tasty-bench drop up to "/"
198201 )
199202
200203------------------------------------------------------------------------------