haskell / haskell/haskell-language-server
Apply nothunks to ghcide and dependencies
未关闭
Hackathon
level: easy
performance
type: enhancement
- 主要语言
- Haskell
- 星标
- 3k
- 派生
- 455
- 平均合并
- 2 天 19 小时
- 30 天内合并 PR
- 11
描述
[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
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。