Skip to content
Snippets Groups Projects
Commit e84e2805 authored by vdukhovni's avatar vdukhovni Committed by Marge Bot
Browse files

Add fold vs. mconcat test T17123

parent 226cefd0
No related branches found
No related tags found
No related merge requests found
import qualified Data.Text as T
import Data.Foldable
xs :: [T.Text]
xs = [ T.pack $ show n | n <- [0..10000] ]
main :: IO ()
main = do
fold xs `seq` return ()
......@@ -372,6 +372,11 @@ test('T15185',
compile_and_run,
['-O'])
test('T17123',
[collect_stats('bytes allocated', 20), only_ways(['normal'])],
compile_and_run,
['-O'])
# Test performance of creating Uniques.
test('UniqLoop',
[collect_stats('bytes allocated',5),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment