-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Slow start up on Windows #6557
Comments
I thought that this was a result of losing debug info for precompiled code on Windows, so precompilation is turned off by default. |
Is there any way to turn it back on without rebuilding Julia? |
Background: #6490 (comment) I don't see where it's been disabled in the Makefile yet if you're doing a local build, although it was discussed above. |
If you have the required tools you could modify these commands to regenerate it, without recompiling everything: (It is disabled here: https://github.com/JuliaLang/julia/blob/master/Makefile#L263) |
Since debug info now works on non-windows, we should be including |
On Windows, you'll need a MinGW installation to get a linker to run one of those makefile sections. If someone deems it exceedingly important I could have a look at trying it with the MSVC linker. We're not shipping any of LLVM in the binary distribution except what's statically linked into libjulia right now, but one wonders how mature |
it's disabled on windows because the tradeoff is getting backtraces and reliable error catching vs. fast startup. and I like when issue reports have actual backtraces. |
That's a terrible choice to be forced to make. |
#sadclippy I think it might be possible to do what we need with 3.3 - for example, by reaching in to |
I don't think it's worth the effort. |
Does it make any sense to bump LLVM for 0.3 or is that way too aggressive? If not then I think we should just go with the unfortunately slow startup on windows for 0.3.
|
I'd prefer not to. 3.4 is largely untested as everybody is mostly testing on 3.3 and master. I'd say go with 3.3 and the slow start for 0.3 and aim for a quick 0.4 or 0.3.1 with LLVM 3.5 once that's released in June. |
Changing the version of LLVM would require the tradeoff of removing the Int128 type for Windows, since that also requires effort. Our local patch needs to be ported to each version, or fixed upstream (http://reviews.llvm.org/D1998) |
As it happens, the i128 patch in the phabricator request is now ported to llvm 3.4 anyways. |
Anything you could use our help on with that patch? Or is the updated version back to waiting on someone to review it? |
it's waiting for review |
The i128 math patch was merged into LLVM master yesterday, which puts us in a good position to have backtraces and what not (like fast startup) by the end of the summer (after 3.5). closing this as won't fix now & duplicate of whatever issues will get closed in porting to LLVM 3.5 |
Unfortunately, the impressive speed boosts that were made for Julia on Linux seem to have been lost in translation. On the same machine, I get ~0.6 secs on Linux vs. ~6 on Windows.
The text was updated successfully, but these errors were encountered: