mirror of
https://github.com/haskell/ghcide.git
synced 2024-11-30 01:22:34 +03:00
0d7cae9846
* Remove hardcoded --stack-yaml and upstream/master assumption * support Cabal in bench suite * add benchmark run to CI Even if the time measurements are unreliable in a shared CI environment, the memory usage will be an accurate indicator of space leaks * Update bench/README * use origin/master * default to stack in benchmarks (for CI) * ignore ghcide-bench and ghcide-preprocessor binaries too * Review feedbacks * Add the v0.3.0 tag in bench/hist.yaml commented out to keep the CI time as tight as possible * Add .artifactignore file to avoid publishing binaries in azure bench pipeline * use default stack.yaml
658 B
658 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
hist.yaml
configuration file. By default it compares HEAD with "master"
- Run with
Further details available in the module header comments.