Improve the speed for loading the GMT.jl package
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- docker, julia
- Domain
- build-system, devops
Research direction
Inspect the Docker image build configuration and the Julia package-loading command suggested in the issue. Test whether running julia -e "using GMT" during the image build removes the first-use delay, and verify that using GMT starts faster for users after the image is built.
Written by the indexing model from the issue text.
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?
- Dominant language
- Jupyter Notebook
- Stars
- 59
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from GenericMappingTools/try-gmt
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
GenericMappingTools/try-gmt#19 · 4 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
GenericMappingTools/try-gmt#1 · 11 comments · 3 reactions ·
All issues in GenericMappingTools/try-gmt
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 3 days
-
area:docs area:infra enhancement needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
UkuleleTuesday/website#315 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
reflex-dev/xy#561 ·
Maintainers usually reply within 1 day
-
CImg difficulty:easy enhancement prio:low
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
NatronGitHub/openfx-misc#501 ·
Maintainers usually reply within 1 day
-
Mend: dependency security vulnerability
Difficulty 1/5 1-3 hours Newbie friendliness 72/100
ManageIQ/manageiq.org#1255 ·