Reduce the build and test times of the aggregator
I maintainer di solito rispondono entro 3 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Refactoring
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- rust
- Ambito
- build-system, performance, testing
Direzione di ricerca
Start by measuring the aggregator with cargo build --timings, cargo test --no-run, and cargo nextest, then compare the results against the signer and the ci-tests profile. Read the mithril-aggregator and workspace Cargo manifests to trace the listed feature and profile settings. Done means recording the baseline, applying justified optimizations, and measuring gains against it.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Why
The mithril-aggregator crate is still the slowest unit of the workspace to build and test (unit test binary about 77 s, 13 integration test binaries of 12 to 17 s each, against 16 s and 6 to 9 s for the signer), which slows down the local development loop and the CI.
What
The aggregator build and test times are measured, then reduced by removing the feature flips and the per binary fixed costs that remain after the boxing of the HTTP route filters.
How
- Measure the current build times (
cargo build --timings,cargo test --no-run) and the slowest tests (cargo nextest) of the aggregator to set a baseline - Assess possible optimizations:
- Remove the
allow_skip_signer_certificationfeature flip of themithril-commondev-dependency, which rebuildsmithril-commonand the 13 internal crates depending on it betweencargo buildandcargo test? - Align the features of the shared dependencies (
tokio,reqwest,rustls,tower,zstd) at the workspace level to stop the rebuilds when switching between the aggregator and the other packages? - Evaluate a reduced debug info level (
debug = "line-tables-only") for the local dev profile, as already used by theci-testsprofile? - Speed up or move to the slow tier the slowest aggregator tests found by the baseline?
- TBD
- Remove the
- Measure the gains against the baseline
- Lingua principale
- Rust
- Stelle
- 155
- Fork
- 52
- Merge medio
- 3g 9h
- PR unite (30g)
- 33
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di IntersectMBO/mithril
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
IntersectMBO/mithril#1605 · 2 commenti ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
IntersectMBO/mithril#3748 ·
I maintainer di solito rispondono entro 3 giorni
-
feature :rocket:
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
IntersectMBO/mithril#3743 ·
I maintainer di solito rispondono entro 3 giorni
-
feature :rocket:
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
IntersectMBO/mithril#3742 ·
I maintainer di solito rispondono entro 3 giorni
-
infrastructure :classical_building:
Difficoltà 4/5 3-5 giorni Idoneità per principianti 54/100
IntersectMBO/mithril#3740 ·
I maintainer di solito rispondono entro 3 giorni
Tutte le issue di IntersectMBO/mithril
Issue simili
-
triage: failed
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
oxc-project/tsrs#1277 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
autofixer: follow-up triage: bug triage: classified triage: correctness triage: has-reproducer
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
tursodatabase/turso#13221 ·
I maintainer di solito rispondono entro 1 giorno
-
Update Wasmtime to 48.0.11 for RUSTSEC-2026-0648Forse già presa @flyingrobots l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
flyingrobots/edict#457 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100