summaryrefslogtreecommitdiff
path: root/hadrian/src/Flavour.hs
diff options
context:
space:
mode:
authorAndrey Mokhov <andrey.mokhov@gmail.com>2019-03-14 14:12:20 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-03-27 07:20:03 -0400
commit646f2e79c5d6e79341693b1b9660da974102cec2 (patch)
tree47aec452033043e7caa84130eff5020123dcbde8 /hadrian/src/Flavour.hs
parentab41c1b429374e22f51c06128c173ef4f14be67d (diff)
downloadhaskell-646f2e79c5d6e79341693b1b9660da974102cec2.tar.gz
Hadrian: trace the execution of expensive Cabal calls
We use Cabal to parse, configure, register and copy packages, which are expensive operations that are currently not visible to Shake's profiling infrastructure. By using `traced` we tell Shake to add these IO actions to the profiling report, helping us to identify performance bottlenecks. We use short tracing keys, as recommended in Shake docs: the name of the current target is already available in the rest of the profiling information.
Diffstat (limited to 'hadrian/src/Flavour.hs')
0 files changed, 0 insertions, 0 deletions