mirror of
https://github.com/codedownio/time-ghc-modules.git
synced 2024-10-03 16:48:27 +03:00
Add instructions and another image
This commit is contained in:
parent
fce507081f
commit
45102305fc
16
README.md
16
README.md
@ -3,4 +3,18 @@
|
||||
|
||||
Analyze how long it takes GHC to compile Haskell modules.
|
||||
|
||||
![hledger profile](./hledger.svg)
|
||||
# Example: hledger
|
||||
|
||||
You can generate the time report below for [hledger](https://github.com/simonmichael/hledger) by running the following commands (assuming you have Nix).
|
||||
|
||||
``` bash
|
||||
set -e
|
||||
cd $(mktemp -d)
|
||||
git clone git@github.com:simonmichael/hledger.git
|
||||
git clone git@github.com:codedownio/time-ghc-modules.git
|
||||
cd hledger
|
||||
stack build --ghc-options "-ddump-to-file -ddump-timings"
|
||||
../time-ghc-modules/time-ghc-modules-nix
|
||||
```
|
||||
|
||||
![hledger profile](./hledger.png)
|
||||
|
BIN
hledger.png
Normal file
BIN
hledger.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 184 KiB |
Loading…
Reference in New Issue
Block a user