Reduce the build and test times of the aggregator
メンテナーはふだん 3 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- リファクタリング
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- rust
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- Rust
- スター
- 155
- フォーク
- 52
- 平均マージ
- 3日 9時間
- マージ済み PR(30日)
- 33
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
IntersectMBO/mithril のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
IntersectMBO/mithril#1605 · コメント 2 件 ·
メンテナーはふだん 3 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
IntersectMBO/mithril#3748 ·
メンテナーはふだん 3 日以内に返信
-
feature :rocket:
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
IntersectMBO/mithril#3743 ·
メンテナーはふだん 3 日以内に返信
-
feature :rocket:
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
IntersectMBO/mithril#3742 ·
メンテナーはふだん 3 日以内に返信
-
infrastructure :classical_building:
難易度 4/5 3〜5日 初心者へのやさしさ 54/100
IntersectMBO/mithril#3740 ·
メンテナーはふだん 3 日以内に返信
IntersectMBO/mithril の issue をすべて見る
似ている issue
-
triage: failed
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
oxc-project/tsrs#1277 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
autofixer: follow-up triage: bug triage: classified triage: correctness triage: has-reproducer
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
tursodatabase/turso#13221 ·
メンテナーはふだん 1 日以内に返信
-
Update Wasmtime to 48.0.11 for RUSTSEC-2026-0648対応中かも @flyingrobots が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
flyingrobots/edict#457 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100