1
Fork 0
mirror of https://github.com/Jaxan/nominal-lstar.git synced 2025-04-27 14:47:45 +02:00
nominal-lstar/bench/Bench.hs
2020-05-28 09:21:42 +02:00

21 lines
625 B
Haskell

{-# OPTIONS_GHC -Wno-missing-signatures #-}
import Bollig
import Examples
import Teacher
import Gauge.Main
import Gauge.Main.Options
-- Run a single test since these are slow benchmarks
myConfig = defaultConfig
{ quickMode = True
, includeFirstIter = True
}
main = defaultMainWith myConfig [
bgroup "NomNLStar"
[ bench "NFA1 -" $ whnf (learnBollig 0 0) (teacherWithTargetNonDet 2 Examples.exampleNFA1)
, bench "NFA2 1" $ whnf (learnBollig 0 0) (teacherWithTargetNonDet 3 (Examples.exampleNFA2 1))
, bench "NFA2 2" $ whnf (learnBollig 0 0) (teacherWithTargetNonDet 4 (Examples.exampleNFA2 2))
]
]