mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-15 00:27:46 +03:00
11 lines
362 B
Haskell
11 lines
362 B
Haskell
{- Criterion-based benchmarks. Criterion displays and minimises the impact
|
|
of time variance and charts the results. -}
|
|
|
|
import Criterion.Main
|
|
import System.Environment (withArgs)
|
|
import qualified HledgerMain
|
|
|
|
main = defaultMain [
|
|
bench "balance_100x100x10" $ nfIO $ withArgs ["balance", "-f", "100x100x10.ledger", ">/dev/null"] HledgerMain.main
|
|
]
|