Ticket #7086 (closed bug: fixed)

Opened 11 months ago

Last modified 10 months ago

haddock memory usage regression

Reported by: igloo Owned by: igloo
Priority: high Milestone: 7.6.1
Component: None Version: 7.5
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

Haddock uses a lot more memory than it used to.

Attached are haddock-before.png, showing memory usage of 4dc9ecd3905f75adb6bcfb818fbc163c724d4545, and haddock-after.png, showing memory usage of 7f164839d8b0b6e53fa0f15d2a6810ca310e337d, while haddocking the ghc package.

Attachments

haddock-before.png Download (113.4 KB) - added by igloo 11 months ago.
haddock-after.png Download (94.9 KB) - added by igloo 11 months ago.

Change History

Changed 11 months ago by igloo

Changed 11 months ago by igloo

Changed 10 months ago by igloo

  • owner set to igloo
  • priority changed from highest to high

This is mostly fixed by

commit 671b21146139d61339ee03b6afc33beab72ed63d
Author: Ian Lynagh <ian@well-typed.com>
Date:   Mon Aug 13 23:58:46 2012 +0100

    Improve haddock memory usage

in HEAD (ed9ff6c9ba93f0759d276715fd1162edc4d21ad7 in 7.6).

I'm going to try to add some sort of space regression test.

Changed 10 months ago by igloo

  • status changed from new to closed
  • resolution set to fixed

Perf tests added, in testsuite/tests/perf/haddock/

Note: See TracTickets for help on using tickets.