haskell / haskell/haskell-language-server

Apply nothunks to ghcide and dependencies

オープン
#736 コメント 1 件 リアクション 5 件 担当者 0 名 GitHub で見る
Hackathon level: easy performance type: enhancement
主要言語
Haskell
スター
3k
フォーク
455
平均マージ
2日 19時間
マージ済み PR(30日)
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。