From 7124a4f00e536b4d5323a7488c1f65469dddb102 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Tue, 12 May 2020 12:21:36 +0100 Subject: Format with ormolu --- test/Benchmark.hs | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) (limited to 'test/Benchmark.hs') diff --git a/test/Benchmark.hs b/test/Benchmark.hs index 9c81049..3454ca2 100644 --- a/test/Benchmark.hs +++ b/test/Benchmark.hs @@ -1,15 +1,22 @@ module Main where -import Control.Lens ((&), (.~)) -import Criterion.Main (bench, bgroup, defaultMain, nfAppIO) -import Verismith (configProperty, defaultConfig, proceduralIO, - propSize, propStmntDepth) +import Control.Lens ((&), (.~)) +import Criterion.Main (bench, bgroup, defaultMain, nfAppIO) +import Verismith + ( configProperty, + defaultConfig, + proceduralIO, + propSize, + propStmntDepth, + ) main :: IO () -main = defaultMain - [ bgroup "generation" - [ bench "default" $ nfAppIO (proceduralIO "top") defaultConfig - , bench "depth" . nfAppIO (proceduralIO "top") $ defaultConfig & configProperty . propStmntDepth .~ 10 - , bench "size" . nfAppIO (proceduralIO "top") $ defaultConfig & configProperty . propSize .~ 40 +main = + defaultMain + [ bgroup + "generation" + [ bench "default" $ nfAppIO (proceduralIO "top") defaultConfig, + bench "depth" . nfAppIO (proceduralIO "top") $ defaultConfig & configProperty . propStmntDepth .~ 10, + bench "size" . nfAppIO (proceduralIO "top") $ defaultConfig & configProperty . propSize .~ 40 ] ] -- cgit