-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Show --compile with --help (and support better) #36017
Comments
It's not dangerous and should always work (if it crashes or errors unexpectedly, file an issue). But, it can make code run hundreds of times slower, so it's not a practical option in general. It is listed under We could indeed apply |
I did and Julia's defaults can be 3.7x slower: JuliaInterop/RCall.jl#383 (comment) And in that case the line (the last one, i.e. not |
By the way, |
@derekmahar The option not displayed with
|
@blegat, yes, but |
Actually "--help" is in the manual both for current 1.5 and 1.4, but the search feature isn't too good: https://docs.julialang.org/en/v1/manual/getting-started/ "--help-hidden" isn't there, yes (while can be found from "--help" itself), but in 1.7 manual neither is for that page (I assume just moved and maybe "--help-hidden" is in). [It's easier to search in a PDF file, and I tracked down an old one for the manual.] It would be good that the manual is searchable for e.g. "--sysimage" and "--compile-min" too. |
I think you may have misunderstood my point or I was not clear. The option
Note that this differs from the specification of option |
Still, for
I already have:
I think it's looking at: For some reason the man page still ends with: 2013-12-10 "min" is not in: It could be backported to Julia 1.5.4 but I'm not sure really needed, with Julia 1.6 release around the corner. [I've installed and uninstalled a lot of Julia versions over time. I have 22 Julia installations, from 0.4 to 1.7, plus have used snap install that I do not advice (last I checked it wasn't updated). At first I though man looks only in .deb installs. "It is strongly recommended that the official generic binaries from the downloads page be used to install Julia on Linux and FreeBSD."] |
Yes, because I reported and fixed #36585. In my earlier comment, I should have written, "The option --compile=min was absent from the Julia man page, not the help page." |
A. Since
--compile=min
works (even as of 1.6, and I guess all versions since 1.0) and can be MUCH faster (for loading code), show it!Is there a reason it's undocumented? Are some of of the options dangerous, or other reason undocumented? I believe they are "yes", "no", and "min", and if I recall for pre-1.0 "min" could crash?
B. As with Jeff's new selective lowered optimization trick, being able to get the above option that way would be nice. I'm not sure if that's an easy change, while even I could make a PR for A. unless it's not wanted.
C. Letting the user choose for the new opt option and/or possible B. would be nice, as e.g.
@lowopt using Module
and even better if possible more granularity, i.e. for functions (loops?).The text was updated successfully, but these errors were encountered: