JuliaPy / JuliaPy/PythonCall.jl

Improve juliacall startup time?

未关闭
#762 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
Julia
星标
1.1k
派生
86
平均合并
1 天 22 小时
30 天内合并 PR
3

描述

Currently, it takes more than 2 seconds to load the package `juliacall` in Python, before importing any Julia package or running Julia code:
```
$ time python -c "from juliacall import Main as jl"

real 0m2.355s
user 0m3.104s
sys 0m0.156s
```

This can be a disadvantage compared with calling C++ instead of Julia to offload heavy computations outside Python, depending on the workflow. Is there a way to compile a Julia system image to make the startup much faster?

贡献指南

这个仓库没有索引到贡献指南

调研方向

Start by reproducing the reported command, `python -c "from juliacall import Main as jl"`, and inspect the juliacall import and initialization path. Determine which startup work dominates the more-than-two-second delay and whether a Julia system image can address it. Done means a documented, measured startup improvement without breaking Python-to-Julia initialization.

由索引模型根据 Issue 内容生成。

评估

技术栈
julia, python
领域
performance
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
冷清
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。