Hadrian: trace the execution of expensive Cabal calls

Authored by snowleopard on Mar 14 2019, 9:12 AM.

Description

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.

Details

Committed
Marge Bot <ben+marge-bot@smart-cactus.org>Mar 27 2019, 6:20 AM
Parents
rGHCab41c1b42937: Hadrian: Bump Shake to 0.17.6
Branches
Unknown
Tags
Unknown
Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHC646f2e79c5d6: Hadrian: trace the execution of expensive Cabal calls (authored by snowleopard).Mar 27 2019, 6:20 AM