-
Notifications
You must be signed in to change notification settings - Fork 120
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
Progress doesn't work well at all #361
Comments
The first time round times are usually a bit iffy. Subsequent times it's more reasonable, but recomp avoidance will make it worse. Can you --progress=record and attach the result, that dumps the raw info and can be used to produce graphs of accuracy etc. |
I'll upload some progress logs, but I think recomp avoidance is exactly the problem, as it means a file sometimes takes several seconds to build, and sometimes is instantaneous. Is there any way to let Shake know, "No, we didn't actually build this"? (Can Shake predict if something is going to be recomp avoided or not?) |
Here are a few progress files I got from running Shake, touching some intermediate source file, and then running it again. These are for compiling Cabal; I can also try compiling some simpler projects and see what happens. |
Thanks. I wouldn't worry about simpler projects - it's all averages and approximations, so the short builds tend to be less accurate. |
Looking at those through the profile viewer ( |
Hi, is there any experiments/etc you would like me to do? I'm regularly running this Shake build system and I can submit more data, vary the set of things being compiled, etc. |
I'm not sure why, but Shake's progress estimation seems to just not work very well at all for me (as in, continuously reporting 3s left perpetually through the build, or 37777m left, and not improving if I rerun the build system multiple times), with a Shake build system that is directly calling the GHC API.
Is there something I'm doing wrong? It sounds like this feature works OK for most people; is in-process causing Shake problems, or am I poisoning build times with bad data (because of recompilation avoidance), or something?
The text was updated successfully, but these errors were encountered: