mirror of
https://github.com/haskell/ghcide.git
synced 2024-11-23 03:25:40 +03:00
a52741838b
* [ghcide-bench] allow custom example * [bench] allow custom example * Add v0.4.0 entry for completeness * Rename benchmark artifacts bench/hist.yaml --> bench/config.yaml bench-hist --> bench-results * Fix Cabal file * Fix tests * No need for hardcoded experiment positions
680 B
680 B
Benchmarks
This folder contains two Haskell programs that work together to simplify the performance analysis of ghcide:
exe/Main.hs
- a standalone benchmark runner. Run withstack run ghcide-bench
hist/Main.hs
- a Shake script for running the benchmark suite over a set of commits.- Run with
stack bench
orcabal bench
, - Requires a
ghcide-bench
binary in the PATH (usually provided by stack/cabal), - Calls
cabal
(orstack
, configurable) internally to build the project, - Driven by the
config.yaml
configuration file. By default it compares HEAD with "master"
- Run with
Further details available in the config file and the module header comments.