JuliaPy / JuliaPy/PythonCall.jl

Improve juliacall startup time?

オープン
#762 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Julia
スター
1.1k
フォーク
86
平均マージ
1日 22時間
マージ済み PR(30日)
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
見積もり時間
1週間以上
活発さ
静か
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。