mirror of
https://github.com/mrkkrp/megaparsec.git
synced 2024-11-23 19:38:05 +03:00
minor cosmetic corrections
This commit is contained in:
parent
503a1db4be
commit
e374a7cc6a
@ -1,6 +1,6 @@
|
|||||||
-- -*- Mode: Haskell; -*-
|
-- -*- Mode: Haskell; -*-
|
||||||
--
|
--
|
||||||
-- Criterion benchmarks for Megaparsec, main module.
|
-- Criterion benchmarks for Megaparsec.
|
||||||
--
|
--
|
||||||
-- Copyright © 2015 Megaparsec contributors
|
-- Copyright © 2015 Megaparsec contributors
|
||||||
--
|
--
|
||||||
@ -78,6 +78,7 @@ import Data.ByteString.Lazy.Char8 (pack)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
-- benchSteps and benchSize control the benchmark test points
|
-- benchSteps and benchSize control the benchmark test points
|
||||||
|
|
||||||
benchSteps :: Int
|
benchSteps :: Int
|
||||||
#if BENCHMARK_STEPS
|
#if BENCHMARK_STEPS
|
||||||
benchSteps = BENCHMARK_STEPS
|
benchSteps = BENCHMARK_STEPS
|
||||||
@ -93,7 +94,6 @@ benchSize = 1000
|
|||||||
|
|
||||||
-- End of configuration parameters
|
-- End of configuration parameters
|
||||||
|
|
||||||
|
|
||||||
main :: IO ()
|
main :: IO ()
|
||||||
main = defaultMain benchmarks
|
main = defaultMain benchmarks
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user