New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backport haskell backpack and profiling fixes #46163
Conversation
(cherry picked from commit a7d8800)
`all-functions` corresponds to `-fprof-auto` which places an SCC on every binding. It is well known that SCCs hinder GHC from doing its optimization magic and really slows down profiled code to a point where the profiling reports are completely skewed towards things that were completely optimized away in production settings. Concretely this shows up with things like lenses which do not carry runtime overhead when properly simplified. `exported-functions` corresponds to GHCs `-fprof-auto-exported` which doesn't put SCCs on `INLINE`d code and in turn doesn't influence simplification of this basic but important stuff. (cherry picked from commit 3c70c4c)
See https://phabricator.haskell.org/D5123. (cherry picked from commit cbf1943)
See https://phabricator.haskell.org/D5123. (cherry picked from commit 06a3db6)
No attempt on aarch64-linux (full log) The following builds were skipped because they don't evaluate on aarch64-linux: ghc, haskell.compiler.ghc861 Partial log (click to expand)
|
Timed out, unknown build status on x86_64-linux (full log) Attempted: ghc, haskell.compiler.ghc861 Partial log (click to expand)
|
Timed out, unknown build status on x86_64-darwin (full log) Attempted: ghc, haskell.compiler.ghc861 Partial log (click to expand)
|
I'm not familiar with mass rebuilds (if this is one), and the usual timings and such. Any tip? |
This is a mass-haskell rebuild. I created the relevant hydra jobset already and the cache is mostly populated. There's been some discussion around this lately so it might have changed, but in the past we've just merged major rebuilds into staging (or, for haskell, haskell-updates), then when the relevant jobset stabilized and binaries uploaded anyone could just merge it into master or the relevant release branch. Since we're still in release prep mode I didn't want to just merge in churn unwarned, though. |
Ah, yes, timing seems good. I've been falling behind notification updates. There's this tarball problem blocking channels on both master and 18.09 anyway... |
Jobset at https://hydra.nixos.org/jobset/nixpkgs/haskell-updates-18.09