GenericMappingTools / GenericMappingTools/try-gmt

Improve the speed for loading the GMT.jl package

Open
#9 3 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
Jupyter Notebook
Stars
58
Forks
20
PR merge metrics
No merged PRs in 30d

Description

Loading the GMT.jl package (`using GMT`) is very slow (~10 s) for the first time, because Julia needs to precompile the GMT.jl package. It would be better to precompile the package when building the docker image, so that the package is already precompiled when users run `using GMT`.

As I understand it, running `julia -e "using GMT"` may do the precompiling.

@joa-quim Is it correct? Is there a way to precompile all Julia packages?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.