Skip to content
This repository has been archived by the owner on Jan 2, 2021. It is now read-only.

Commit

Permalink
Update README guideline on benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
pepeiborra committed Jun 27, 2020
1 parent 9e25b07 commit 29cf225
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -312,9 +312,11 @@ See the [tasty-rerun](https://hackage.haskell.org/package/tasty-rerun-1.1.17/doc

If you are touching performance sensitive code, take the time to run a differential
benchmark between HEAD and upstream using the benchHist script. The configuration in
`bench/hist.yaml` is setup to do this by default with the command:
`bench/hist.yaml` is setup to do this by default assuming upstream is
`origin/master`. Run the benchmarks with `stack`:

stack build ghcide:benchHist && stack exec benchHist
export STACK_YAML=...
stack bench

It should take around 15 minutes and the results will be stored in the `bench-hist` folder.
To interpret the results, see the comments in the `bench/Hist/Main.hs` module.
Expand Down
2 changes: 1 addition & 1 deletion bench/hist.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ versions:
# - v0.0.5
# - v0.0.6
# - v0.1.0
- v0.2.0
# - v0.2.0
- upstream: origin/master
- HEAD

0 comments on commit 29cf225

Please sign in to comment.