-
-
Notifications
You must be signed in to change notification settings - Fork 193
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
0.7 compile time doesn't work as well anymore #110
Comments
Damn, if I try to double check with build_sysimg.jl, I'll get: PS C:\Users\sdani> julia
ERROR: System image file failed consistency check: maybe opened the wrong version? With PackageCompiler it works though - and I also double checked that it's not some actual runtime in Makie that takes the 20s. |
I see: |
Good and bad news :D |
I talked some about my investigations into this here: Perhaps I should merge that issue into this one, since this Repo sees a lot more traffic. But, tl;dr, by setting both Is this already something you're doing in your analysis? |
sigh
But thanks, that gives me something to look into :) |
Haha XD yeah no problem. Weee the land of static compiling! Also, if it's helpful, here's the changes i made to do what I talked about above: PackageCompiler.build_executable(...
compile="all",
...) jl_options.compile_enabled = 3; // 0 = "no"; 3 = "min"; 1 = "yes" (default) |
Can this issue be closed? |
@NHDaly you said you compiled your app successfully without JIT overhead in NHDaly/ApplicationBuilder.jl#24 (comment)... But I also can't see |
This is fixed (in Julia 1.3) |
I'll soon push a branch with snoopcompile + sysimage working.
Meanwhile, the compilation speed improvements are not as drastic anymore.
I hope (am pretty sure?), this is just some flag we need to figure out.
precompile.jl generated with
julia --trace-compilation=yes runtests.jl
.Speed improvement is just from 80s to 20s, with a precompile file that should definitely have everything needed in it.
The text was updated successfully, but these errors were encountered: