-
Notifications
You must be signed in to change notification settings - Fork 682
coqc -time -quick gives unreadable output #3934
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
Comments
Comment author: @JasonGross It looks like this:
|
Comment author: @JasonGross Enrico, I think this is your domain, but I'm not completely sure. |
Comment author: @JasonGross (Note: The use-case of this is trying to figure out which lines are slowest when building a file with coqc -quick) |
Comment author: @JasonGross I should note that the annotations are not bogus (re 3 of https://coq.inria.fr/bugs/show_bug.cgi?id=3935#c2); they are actually the time spent on the relevant commands. However, the list of file contents is printed first, and then the times are printed incrementally, rather than each line being printed immediately before the relevant time. |
Comment author: @gares The bug is real but I'm not sure what you are trying to do makes sense. The difference between coqc and coqc -quick is that the latter may If we fix you would eventually see the same timings you get without -quick, Best, |
Comment author: @JasonGross Yes, that is exactly what I want. (Or perhaps I want the skipped steps to not show up.) I want to use -time to see which proofs are not being compiled async / not being skipped. |
Comment author: @gares You can get this info when you turn a .vio into a .vo, since it prints |
Comment author: @JasonGross I want it interactively, for files that do not fully compile, or that take way too long to compile. |
Comment author: @gares There is no such feature, sorry. But coq is it consistent, and easy to predict. In batch mode: if a proof ends with Qed and is annotated with "using", When you use CoqIDE, proofs that took less than 1 second are not deferred Best, |
Comment author: @gares Tagging as enhancement. This is an instance of the X Y problem to me: coqc -quick -time is not a way to know which proof is skipped. coqc -time works, so no regression. coqc -quick -time does not, and we may want it to work, but requires some work. In particular the STM must take over the -time functionality, and I don't think |
Note: the issue was created automatically with bugzilla2github tool
Original bug ID: BZ#3934
From: @JasonGross
Reported version: trunk
CC: @ejgallego
The text was updated successfully, but these errors were encountered: