haskell / haskell/haskell-language-server

Apply nothunks to ghcide and dependencies

Ouverte
#736 1 commentaire 5 réactions 0 personnes assignées Voir sur GitHub
Hackathon level: easy performance type: enhancement
Langage dominant
Haskell
Étoiles
3k
Forks
455
Merge moyen
2 j 19 h
PR mergées (30 j)
11

Description

[nothunks](http://hackage.haskell.org/package/nothunks) is a library to do runtime detection of unexpected thunks.
This is very relevant for us since we have suffered from space leaks in the past.

Thunks checking could be guarded by a flag. I expect that there will be plenty of thunks in ghcide, its dependencies and GHC itself. If we ever manage to eliminate all of them, we can enable the flag in the benchmark CI job and fail it when a new thunk is introduced.

Potential sources of thunks include:
- The values map
- The Shake state
- The diagnostics store
- The position mapping
- The Shake session queue

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.