-
Notifications
You must be signed in to change notification settings - Fork 5
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
Massive load time for Julia 1.3+ #33
Comments
Julia 1.3 has not been released yet, because of these kinds of issues. |
Looks like this might be fixed on 1.3-rc5 JuliaLang/julia#33615 |
Looks like RC5 fixed it! In a fresh session: julia> f = tempname() * ".jlso";
julia> JLSO.save(f, :x=>rand(1000), :y=>rand(1000));
julia> @time JLSO.load(f);
2.822424 seconds (16.27 M allocations: 781.691 MiB, 9.60% gc time) |
I forgot to add: the slowdown came from julia> @time JLSO.load(f);
1.372000 seconds (4.57 M allocations: 234.462 MiB, 2.11% gc time) |
Is that also still a 1-time cost or is it twice as expensive every time you call |
First off, awesome package! I've really enjoyed it so far. Unfortunately I came across an issue with load time while trying out Julia 1.3.
In the following example:
The first call to JLSO.load(f) takes 1-2 minutes with Julia 1.3 (rc2, rc3, and rc4.1) on multiple machines, but only a few seconds with Julia 1.2. This is true for any level of compression or serializer. The difference appears to only be from compile time, as subsequent loads for other files are fast.
The text was updated successfully, but these errors were encountered: