Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slow build time and high memory usage(while builing) #17

Open
4eUeP opened this issue Feb 19, 2021 · 3 comments
Open

Slow build time and high memory usage(while builing) #17

4eUeP opened this issue Feb 19, 2021 · 3 comments
Assignees

Comments

@4eUeP
Copy link
Member

4eUeP commented Feb 19, 2021

No description provided.

@winterland1989
Copy link
Collaborator

Generic really kills time, sadly Print and JSON all depend on it, I’ll try to split instances first.

@4eUeP 4eUeP changed the title Slow build time and high memory usage Slow build time and high memory usage(while builing) Feb 20, 2021
@winterland1989
Copy link
Collaborator

winterland1989 commented Feb 20, 2021

done ("split instances first")

@4eUeP 4eUeP reopened this Feb 20, 2021
@winterland1989
Copy link
Collaborator

We may have to wait for GHC to improve the compilation speed of Generics:
https://gitlab.haskell.org/ghc/ghc/-/issues/5642
https://gitlab.haskell.org/ghc/ghc/-/issues/9557

Most of the compilation time is spent on simplify generic's instance method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants