Skip to content
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

set optimization level to 1 for faster load time #764

Merged
merged 1 commit into from
Apr 11, 2020
Merged

Conversation

stevengj
Copy link
Member

Similar to JuliaPlots/Plots.jl#2544 … this is a new feature of Julia 1.4.

@stevengj
Copy link
Member Author

Unrelated Travis failures.

@stevengj stevengj merged commit 1d0d17d into master Apr 11, 2020
@stevengj stevengj deleted the stevengj-patch-1 branch April 11, 2020 15:24
@PallHaraldsson
Copy link
Contributor

PallHaraldsson commented May 27, 2020

FYI: It's new in Julia 1.5 (and I don't know it to be backported to 1.4, or that we should), in case read your commit message. I think you can change here, and git amend not needed.

And:

Startup can be much faster (not quite the 3.7x faster I've seen elsewhere with Alpaca.jl through RCall: JuliaInterop/RCall.jl#383 (comment)):

$ ~/julia-1.6.0-DEV-8f512f3f6d/bin/julia -O0 --compile=min --startup-file=no
julia> @time using PyCall
  0.815904 seconds (495.25 k allocations: 30.702 MiB)

julia> @time using PyCall
  0.003530 seconds (3.00 k allocations: 191.172 KiB)

julia> @time using PyCall
  0.001573 seconds (608 allocations: 31.234 KiB)

The "second using problem" means you have invalidation, which I think could be helped with SnoopCompile.jl, but I'm a little new to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants