on master help sign in
Include benchmark results
e441145Andrzej Rybczak
README.md+2−1
@@ -3,7 +3,8 @@
3[![Build Status](https://github.com/arybczak/effectful/workflows/Haskell-CI/badge.svg?branch=master)](https://github.com/arybczak/effectful/actions?query=branch%3Amaster)
3[![Build Status](https://github.com/arybczak/effectful/workflows/Haskell-CI/badge.svg?branch=master)](https://github.com/arybczak/effectful/actions?query=branch%3Amaster)
4[![Hackage](https://img.shields.io/hackage/v/effectful.svg)](https://hackage.haskell.org/package/effectful)
4[![Hackage](https://img.shields.io/hackage/v/effectful.svg)](https://hackage.haskell.org/package/effectful)
5
5
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).
7
8
8A simple, performant extensible effects library with seamless integration with
9A simple, performant extensible effects library with seamless integration with
9the existing ecosystem.
10the existing ecosystem.
bench/Main.hs+4−4
@@ -40,10 +40,10 @@ countdown n = bgroup (show n)
40#endif
40#endif
41 ]
41 ]
42 , bgroup "deep"
42 , bgroup "deep"
43− [ bench "effectful (PS)" $ nfAppIO countdownEffectfulStaticDeep n
43+ [ bench "effectful (pure-static)" $ nfAppIO countdownEffectfulStaticDeep n
44− , bench "effectful (PD)" $ nfAppIO countdownEffectfulDynPureDeep n
44+ , bench "effectful (pure-dynamic)" $ nfAppIO countdownEffectfulDynPureDeep n
45− , bench "effectful (MS)" $ nfAppIO countdownEffectfulMVarDeep n
45+ , bench "effectful (MVar-static)" $ nfAppIO countdownEffectfulMVarDeep n
46− , bench "effectful (MD)" $ nfAppIO countdownEffectfulDynMVarDeep n
46+ , bench "effectful (MVar-dynamic)" $ nfAppIO countdownEffectfulDynMVarDeep n
47#ifdef VERSION_freer_simple
47#ifdef VERSION_freer_simple
48 , bench "freer-simple" $ nf countdownFreerSimpleDeep n
48 , bench "freer-simple" $ nf countdownFreerSimpleDeep n
49#endif
49#endif