Skip to content

Record the count of modules compiled and the count of total modules  #17

Open
@parsonsmatt

Description

A common build log will include this prefix text:

[356 / 1000] Foo.Bar.Baz 

The second number is the set of modules GHC knows that may need building, and the first is the placement of the current module in the linearized module graph.

If this plugin could report how many modules are built in a given run, and how many modules are to be built total, then we'd be able to know how many modules were skipped. This would be useful information for understanding how incremental builds or caching is working, as well as how entangled the module graph is (ie "changing these imports resulted in a X difference in how many modules are rebuilt").

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions