From fb1066a4e87e4f13e5b3734791aaee7c44217765 Mon Sep 17 00:00:00 2001 From: Alexander Bondarenko <486682+dpwiz@users.noreply.github.com> Date: Fri, 12 Apr 2024 16:12:48 +0300 Subject: [PATCH] reorder cases to see peak memory --- benchmarks/Bench/Crypto/Lazy.hs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/benchmarks/Bench/Crypto/Lazy.hs b/benchmarks/Bench/Crypto/Lazy.hs index e5c71478d..505418c5a 100644 --- a/benchmarks/Bench/Crypto/Lazy.hs +++ b/benchmarks/Bench/Crypto/Lazy.hs @@ -25,10 +25,10 @@ benchCryptoLazy :: [Benchmark] benchCryptoLazy = [ bgroup "File" - [ withSomeFile $ bench "cf-readFile" . nfAppIO (>>= benchReadFile), - withSomeFile $ bcompare "cf-readFile" . bench "cf-streamFromFile" . nfAppIO (>>= benchStreamFromFile), - withSomeFile $ bcompare "cf-readFile" . bench "cf-passthrough" . nfAppIO (>>= benchPassthrough), - withSomeFile $ bcompare "cf-readFile" . bench "cf-double-streaming" . nfAppIO (>>= benchDoubleStreaming) + [ withSomeFile $ bench "cf-passthrough" . nfAppIO (>>= benchPassthrough), + withSomeFile $ bench "cf-double-streaming" . nfAppIO (>>= benchDoubleStreaming), + withSomeFile $ bench "cf-streamFromFile" . nfAppIO (>>= benchStreamFromFile), + withSomeFile $ bench "cf-readFile" . nfAppIO (>>= benchReadFile) ] ]