on master help sign in
Include benchmark results
commite4411451898d42f75e38a22b50a3fe144833d869 authorAndrzej Rybczak <andrzej@rybczak.net> dateFri 18 Jun 2021, 21:53 (5 years ago) parent650ea35
2 files changed+6−5
README.md+2−1 bench/Main.hs+4−4
README.md+2−1
@@ -3,7 +3,8 @@
33[![Build Status](https://github.com/arybczak/effectful/workflows/Haskell-CI/badge.svg?branch=master)](https://github.com/arybczak/effectful/actions?query=branch%3Amaster)
44[![Hackage](https://img.shields.io/hackage/v/effectful.svg)](https://hackage.haskell.org/package/effectful)
55
6−*Note:* this is a pre-release.
6+*Note:* this is a pre-release. Benchmark results (using GHC 8.8.4) can be found
7+[here](https://rybczak.net/files/countdown.html).
78
89A simple, performant extensible effects library with seamless integration with
910the existing ecosystem.
bench/Main.hs+4−4
@@ -40,10 +40,10 @@ countdown n = bgroup (show n)
4040#endif
4141 ]
4242 , bgroup "deep"
43− [ bench "effectful (PS)" $ nfAppIO countdownEffectfulStaticDeep n
44− , bench "effectful (PD)" $ nfAppIO countdownEffectfulDynPureDeep n
45− , bench "effectful (MS)" $ nfAppIO countdownEffectfulMVarDeep n
46− , bench "effectful (MD)" $ nfAppIO countdownEffectfulDynMVarDeep n
43+ [ bench "effectful (pure-static)" $ nfAppIO countdownEffectfulStaticDeep n
44+ , bench "effectful (pure-dynamic)" $ nfAppIO countdownEffectfulDynPureDeep n
45+ , bench "effectful (MVar-static)" $ nfAppIO countdownEffectfulMVarDeep n
46+ , bench "effectful (MVar-dynamic)" $ nfAppIO countdownEffectfulDynMVarDeep n
4747#ifdef VERSION_freer_simple
4848 , bench "freer-simple" $ nf countdownFreerSimpleDeep n
4949#endif