Memory usage fixes for Haddock
- Do not include `mi_globals` in the `NoBackend` backend. It was only included for Haddock, but Haddock does not actually need it. This causes a 200MB reduction in max residency when generating haddocks on the Agda codebase (roughly 1GB to 800MB). - Make haddock_{parser,renamer}_perf tests more accurate by forcing docs to be written to interface files using `-fwrite-interface` Bumps haddock submodule. Metric Decrease: haddock.base
Showing
- compiler/GHC/Driver/Backend.hs 2 additions, 5 deletionscompiler/GHC/Driver/Backend.hs
- testsuite/tests/haddock/perf/Fold.hs 1 addition, 0 deletionstestsuite/tests/haddock/perf/Fold.hs
- testsuite/tests/haddock/perf/Makefile 5 additions, 5 deletionstestsuite/tests/haddock/perf/Makefile
- utils/haddock 1 addition, 1 deletionutils/haddock
Loading
Please register or sign in to comment