Opened 3 years ago

Last modified 3 years ago

#13270 new task

Make Core Lint faster

Reported by: rwbarton Owned by:
Priority: normal Milestone:
Component: Compiler Version: 8.1
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Compile-time performance bug Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description

Not using -dcore-lint makes the validate build 25% faster overall. See https://perf.haskell.org/ghc/#compare/639e702b6129f501c539b158b982ed8489e3d09c/0206750fcd3fe2299419a9020ec39fa557a866d0.

We should at least profile it and check for anything egregiously inefficient.

Change History (1)

comment:1 Changed 3 years ago by simonpj

That is a bit of a surprise.

I suppose it could be that Lint forces some thunks that would otherwise do un-forced. So it could perhaps not be Lint itself.

Simon

Note: See TracTickets for help on using tickets.