Haskell wikiのPerformanceの項とかmkothaさんの記事
ghcのドキュメント
ghcのプロファイリング機能とかcriterionパッケージ
thread scope

最終的には諦めてC++/Asmで書く