mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-25 19:31:44 +03:00
11 lines
362 B
Haskell
Executable File
11 lines
362 B
Haskell
Executable File
{- 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
|
|
]
|