Skip to content

Decrease priority of compilation jobs to increase UX responsiveness. #399

@mgajda

Description

@mgajda

HIE is expected to respond to events quickly, just like its ancestor is expected to be UI process.
However, the compilations are generally batch jobs that can take longer time to complete,
and should not delay UI.

I suggest we use System.Process.nice to decrease priority of any compilation job we call.
That assures our interactivity is unhindered when we open a big project, and start compiling it with all numCapabilities.

This continues discussion from here:

haskell/haskell-language-server#3528

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions