ghcide/bench/README.md

15 lines
573 B
Markdown
Raw Normal View History

# Benchmarks
This folder contains two Haskell programs that work together to simplify the
performance analysis of ghcide:
- `exe/Main.hs` - a standalone benchmark suite. Run with `stack bench`
- `hist/Main.hs` - a Shake script for running the benchmark suite over a set of commits.
- Run with `stack exec benchHist`,
- Requires a `ghcide-bench` binary in the PATH,
- Calls `stack` internally to build the project,
- Driven by the `hist.yaml` configuration file. By default it compares HEAD with upstream
Further details available in the module header comments.