commercialhaskell / commercialhaskell/stack

'No op' `stack build` is slower for Stack 2.13.1 than Stack 2.7.5

Open
#6,553 16 comments 0 reactions 0 assignees View on GitHub
component: build further investigation required type: performance
Dominant language
Haskell
Stars
4.1k
Forks
850
Avg merge
10h 37m
Merged PRs (30d)
4

Description

Motivation: https://github.com/commercialhaskell/stack/issues/6551

For a mult-package project (80+ packages) Stack 2.7.5 reportedly takes ~ 2 s for a 'no op' `stack build` while Stack 2.13.1 (and, now, post #6552 Stack) reportedly takes ~ 7 s to 8 s.

Can the Stack 2.7.5 level of performance be regained?

However, worth recognising that Stack 2.7.5 had a dependency on `Cabal-3.2.1.0` (LTS 17.15) and modern Stack, currently, has a dependency on `Cabal-3.10.1.0` (LTS 22.7). It is not inconceivable that something may have happened upstream.

EDIT: I am wondering if the effect is real, as I can not reproduce it in my experiments at https://github.com/commercialhaskell/stack/issues/6553#issuecomment-2041218894 or (EDIT2) https://github.com/commercialhaskell/stack/issues/6553#issuecomment-2041607094.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.