2020-06-15 14:56:24 +03:00
|
|
|
|
|
|
|
# Benchmarks
|
|
|
|
|
|
|
|
This folder contains two Haskell programs that work together to simplify the
|
|
|
|
performance analysis of ghcide:
|
|
|
|
|
2020-06-22 13:47:45 +03:00
|
|
|
- `exe/Main.hs` - a standalone benchmark suite. Run with `stack bench`
|
2020-06-15 14:56:24 +03:00
|
|
|
- `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.
|