mirror of
https://github.com/haskell/ghcide.git
synced 2024-11-30 01:22:34 +03:00
1d1f2db3bd
* parse allocations * WaitForShakeQueue * Measure user time and shake time in experiments * clean ups * Prevent a potential crash of the shake enqueue thread * Fix a bug that was preventing reenqueud actions from getting flushed * Avoid running the check-project action per file What we really want is to check the project once per cradle * Backwards compat. * Review feedback * Fix typo Co-authored-by: Neil Mitchell <ndmitchell@gmail.com> Co-authored-by: Neil Mitchell <ndmitchell@gmail.com> |
||
---|---|---|
.. | ||
exe | ||
hist | ||
lib | ||
hist.yaml | ||
README.md |
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.