Commit d8f5dbe1 authored by Hans-Peter Deifel's avatar Hans-Peter Deifel 🐢

Move benchmark modules to deeper hierarchy

We're going to add a lot more benchmark modules, so they should follow
the same module hierarchy as the main ones.
parent 5ec83b50
......@@ -2,9 +2,9 @@ module Main where
import Criterion.Main
import qualified BenchMorphParser as MorphParser
import qualified MA.Coalgebra.BenchParser
main :: IO ()
main = defaultMain
[ MorphParser.benchmarks
[ MA.Coalgebra.BenchParser.benchmarks
]
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE ScopedTypeVariables #-}
module BenchMorphParser (benchmarks) where
module MA.Coalgebra.BenchParser
( benchmarks
, benchParser
) where
import Criterion
......
......@@ -165,7 +165,7 @@ benchmark bench
type: exitcode-stdio-1.0
hs-source-dirs: bench
main-is: BenchMain.hs
other-modules: BenchMorphParser
other-modules: MA.Coalgebra.BenchParser
default-extensions: GADTs
, StandaloneDeriving
, DeriveFunctor
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment