Skip to content

[nix-local-build] Recompiling packages with many components is still pretty slow #3049

@ezyang

Description

@ezyang

nix-local-build has to attempt to recompile EVERY component, even if files from only one component has changed. There seems to be some non-zero latency associated with thinking about a file, so when nix-local-build ends up hitting every component, this combined with GHC's recompilation avoidance latency makes the latency pretty bad.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cabal-install: v2-build systemAffecting v2-build and related commands that use v2-architecture (aka "nix local builds").

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions