mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-08-28 05:04:40 +00:00
reorder cases to see peak memory
This commit is contained in:
@@ -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)
|
||||
]
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user