mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-30 22:02:20 +03:00
10 lines
401 B
Haskell
Executable File
10 lines
401 B
Haskell
Executable File
{- Progression-based benchmarks. Progression charts the difference between successive benchmark runs. -}
|
|
|
|
import Criterion.Main hiding (defaultMain, defaultMainWith)
|
|
import Progression.Main
|
|
import System.Environment (withArgs)
|
|
import qualified HledgerMain
|
|
|
|
main = defaultMain $
|
|
bench "balance_100x100x10" $ nfIO $ withArgs ["balance", "-f", "100x100x10.ledger", ">/dev/null"] HledgerMain.main
|