precheck: parallelise core_ext_boundary_check (the precheck's critical path, 17–35 s)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 70/100
- Tipo de issue
- Refactorización
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Área
- build-system, cli, performance
Línea de trabajo
The script tools/core_ext_boundary_check.sh runs gcc -fsyntax-only on each core source file sequentially. Start by examining this script to understand the file list and the gcc command. Then, modify it to use xargs -P or a similar parallel execution method. Verify the change by running time bash tools/precheck.sh and ensuring the total time is under 40 seconds on a 2-core machine and that the precheck's output and self-tests remain unchanged.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Found while building make precheck (#1264, PR-B). Out of that PR's scope, so filed here.
tools/core_ext_boundary_check.sh runs gcc -fsyntax-only over every core source file, one at a time. At 17–35 s it is the precheck's critical path: precheck takes about 61 s on a loaded 2-core box, against a target of well under a minute. Parallelising it (for example xargs -P "$(nproc)") or caching per-file results keyed on content would put precheck comfortably under a minute. The contributor-facing loop is precheck → push, so every second here is paid on every contribution.
Bar: time bash tools/precheck.sh is under 40 s on a 2-core box, and the gate's verdict and self-test are unchanged. Self-contained: needs only the repo and gcc.
- Lenguaje dominante
- C
- Estrellas
- 3
- Forks
- 7
- Merge medio
- 3 h 56 min
- PR fusionados (30 d)
- 102
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de InauguralSystems/EigenScript
-
area:lint-tooling bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
InauguralSystems/EigenScript#1340 ·
Los mantenedores suelen responder en 1 día
-
area:stdlib found-by:code-review kind:silent-wrong
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
InauguralSystems/EigenScript#1338 ·
Los mantenedores suelen responder en 1 día
-
area:lint-tooling found-by:critic kind:docs-drift
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
InauguralSystems/EigenScript#1335 ·
Los mantenedores suelen responder en 1 día
-
area:ci found-by:critic kind:gate-defect
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
InauguralSystems/EigenScript#1311 ·
Los mantenedores suelen responder en 1 día
-
enrolment: decide test_gc_runner_controls.py (exempt vs enrol) and whether floors need a ratchetAbiertoarea:gates found-by:critic kind:decision
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
InauguralSystems/EigenScript#1280 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de InauguralSystems/EigenScript
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
johnsonjh/emu2-cpm86#68 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Zenmap CrashAbiertoZenmap
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 2 días
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
fastfetch-cli/fastfetch#2619 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
Template: Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
betaflight/betaflight#15759 ·
Los mantenedores suelen responder en 1 día