You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
perf: verifyFetchedTarball called once for each package from a remote repository #10110
verifyFetchedTarball has the effect of deserialising the index tarball (see call to Sec.withIndex).
verifyFetchedTarball is called individually for each package in the build plan (see ProjectPlanning.hs). Not once per repo.
The hackage tarball is now 880mb so it takes a non significant amount of time to deserialise this (much better after haskell/tar#95).
This code path is important as it can add 1s with these 38 calls on to the initial load of a project and scales linearly with the size of your build tree.
Reproducer: Simple project with "lens" dependency deserialises the index tarball 38 times.
Solution: Refactor verifyFetchedTarball to run once per repo rather than once per package.
Mitigation: Improve performance of deserialising .tar files (see haskell/tar#95)
Activity
perf: Group together packages by repo when verifying tarballs
perf: Group together packages by repo when verifying tarballs
perf: Group together packages by repo when verifying tarballs
perf: Group together packages by repo when verifying tarballs
perf: Group together packages by repo when verifying tarballs
Depend on tar-0.6.3.0
Depend on tar-0.6.3.0
Depend on tar-0.6.3.0
Bump index state to allow tar-0.6.3.0
perf: Group together packages by repo when verifying tarballs
Bump index state to allow tar-0.6.3.0
perf: Group together packages by repo when verifying tarballs (#10121)
Depend on tar-0.6.3.0 (backport #10120) (#10123)
perf: Group together packages by repo when verifying tarballs
Bump index state to allow tar-0.6.3.0
perf: Group together packages by repo when verifying tarballs
Bump index state to allow tar-0.6.3.0
perf: Group together packages by repo when verifying tarballs
Bump index state to allow tar-0.6.3.0