JuliaPy / JuliaPy/PythonCall.jl

Improve juliacall startup time?

Abierto
#762 0 comentarios 0 reacciones 0 asignados Ver en GitHub
enhancement
Lenguaje dominante
Julia
Estrellas
1.1k
Forks
86
Merge medio
1 d 22 h
PR fusionados (30 d)
3

Descripción

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?

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
julia, python
Área
performance
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Tranquilo
Claridad
Necesita aclaración
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.