Skip to content

Commit

Permalink
Update benchmarks and release 0.3.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
re-xyr committed May 21, 2022
1 parent 3f7c36e commit 9355cfd
Show file tree
Hide file tree
Showing 11 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog for `cleff`

## Unreleased
## 0.3.3.0 (2022-05-21)

### Changed

Expand Down
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,10 @@ See [`example/`](https://github.com/re-xyr/cleff/tree/master/example/) for more

## Benchmarks

These are the results of the [effect-zoo](https://github.com/ocharles/effect-zoo) microbenchmarks, compiled by GHC 8.10.7. Keep in mind that these are *very short and synthetic programs*, and may or may not tell the accurate performance characteristics of different effect libraries in real use:
These are the results of [`effectful`'s microbenchmarks](https://github.com/haskell-effectful/effectful/tree/master/benchmarks), compiled by GHC 8.10.7. Each diagram shows the average run time of each effect library's implementation of an identical program; lower is better. Each benchmark suite has two flavors - *shallow* and *deep* - where the shallow variant only uses necessary effects, and the deep variant adds 10 redundant `Reader` effects, to simulate more realistic scenarios. Keep in mind that these are *very short and synthetic programs*, and may or may not tell the accurate performance characteristics of different effect libraries in real use.

- `big-stack`: ![big-stack benchmark result](https://raw.githubusercontent.com/re-xyr/cleff/master/docs/img/effect-zoo-big-stack.png)
- `countdown`: ![countdown benchmark result](https://raw.githubusercontent.com/re-xyr/cleff/master/docs/img/effect-zoo-countdown.png)
- `file-sizes`: ![file-sizes benchmark result](https://raw.githubusercontent.com/re-xyr/cleff/master/docs/img/effect-zoo-file-sizes.png)
- `reinterpretation`: ![reinterpretation benchmark result](https://raw.githubusercontent.com/re-xyr/cleff/master/docs/img/effect-zoo-reinterpretation.png)
- `countdown`: ![countdown benchmark result](https://raw.githubusercontent.com/re-xyr/cleff/master/docs/img/benchmark-countdown.png)
- `filesize`: ![filesize benchmark result](https://raw.githubusercontent.com/re-xyr/cleff/master/docs/img/benchmark-filesize.png)

### Differences from `effectful`

Expand Down
1 change: 1 addition & 0 deletions cleff-plugin/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ tested-with:
- GHC == 8.8.4
- GHC == 8.10.7
- GHC == 9.0.2
- GHC == 9.2.2

extra-source-files:
- CHANGELOG.md
Expand Down
1 change: 1 addition & 0 deletions cleff.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ tested-with:
, GHC == 8.8.4
, GHC == 8.10.7
, GHC == 9.0.2
, GHC == 9.2.2
extra-source-files:
CHANGELOG.md
README.md
Expand Down
Binary file added docs/img/benchmark-countdown.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/img/benchmark-filesize.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/img/effect-zoo-big-stack.png
Binary file not shown.
Binary file removed docs/img/effect-zoo-countdown.png
Binary file not shown.
Binary file removed docs/img/effect-zoo-file-sizes.png
Binary file not shown.
Binary file removed docs/img/effect-zoo-reinterpretation.png
Binary file not shown.
1 change: 1 addition & 0 deletions package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ tested-with:
- GHC == 8.8.4
- GHC == 8.10.7
- GHC == 9.0.2
- GHC == 9.2.2

extra-source-files:
- CHANGELOG.md
Expand Down

0 comments on commit 9355cfd

Please sign in to comment.