[Git][ghc/ghc][wip/codebuffer-perftest] Apply 1 suggestion(s) to 1 file(s)

Sylvain Henry (@hsyl20) gitlab at gitlab.haskell.org
Thu Apr 27 12:27:55 UTC 2023



Sylvain Henry pushed to branch wip/codebuffer-perftest at Glasgow Haskell Compiler / GHC


Commits:
9ec71b2a by Sylvain Henry at 2023-04-27T12:27:52+00:00
Apply 1 suggestion(s) to 1 file(s)
- - - - -


1 changed file:

- libraries/base/tests/perf/encodingAllocations.hs


Changes:

=====================================
libraries/base/tests/perf/encodingAllocations.hs
=====================================
@@ -18,7 +18,7 @@ devnull = "/dev/null"
 #endif
 
 main :: IO ()
-main = withFile devnull WriteMode (loop 1000000)
+main = withFile devnull AppendMode (loop 1000000)
 
 loop :: Int -> Handle -> IO ()
 loop 0  !_ = pure ()



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/9ec71b2ad6545d033348e4e0a04e27bc8eaba72a

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/9ec71b2ad6545d033348e4e0a04e27bc8eaba72a
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230427/92bc07fa/attachment.html>


More information about the ghc-commits mailing list