Windows installer (MSI) is slow
まだ誰も着手していません。
評価
調査の方向性
Start by building the MSI and measuring it: run msiexec /i ECCE-windows-9.0.0-alpha.10.msi /l*v install.log and find which phase dominates (file costing, file copy, registry, or custom actions), then count files and components in the bundled Python, wxPython and Perl. Done means a clean install on NerdEgg has a stated time taken from the log and the CI MSI install/uninstall test still passes. Packaging changes need maintainer agreement on the approach first.
索引モデルが issue の本文から書いたものです。
説明
The per-user MSI (ECCE-windows-9.0.0-alpha.10.msi, ~180 MB, WiX v5) installs slowly on Windows 10; reported again on alpha.10, already listed as a known issue since alpha.8.
To find out first (measure, don't guess)
- Time the phases from a verbose log:
msiexec /i ECCE-windows-9.0.0-alpha.10.msi /l*v install.log. This shows file costing, file copy, registry and custom actions. - Number of files and components in the package. The bundled Python, wxPython and Perl add tens of thousands of small files, and MSI cost scales with the number of files and components more than with total size.
- The effect of real-time antivirus (Windows Defender scans every file written): compare the install time with the zip unpacked to the same place.
Likely remedies, depending on the measurement
- Fewer, larger components (one component per directory, or WiX harvesting with directory-level components), instead of one per file.
- Ship the bundled runtimes as zip/archive files that are unpacked on first start, or put Python's standard library in its zip form (
python3xx.zip). - Drop unused parts of the bundled runtimes: tests, documentation,
__pycache__, unused Perl modules. - Check that no custom action runs a slow step (e.g. compiling .pyc files) at install time.
Done when: a clean install on NerdEgg takes a stated time (e.g. under 1 minute), measured from the log, and the CI MSI install/uninstall test still passes.
- 主要言語
- C
- スター
- 10
- フォーク
- 8
- 平均マージ
- 21分
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
FriendsofECCE/ECCE のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
FriendsofECCE/ECCE#336 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 43/100
FriendsofECCE/ECCE#361 · コメント 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
FriendsofECCE/ECCE#359 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 28/100
FriendsofECCE/ECCE#358 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
FriendsofECCE/ECCE#357 · コメント 3 件 ·
FriendsofECCE/ECCE の issue をすべて見る
似ている issue
-
native-cpu: -Wreturn-type in skainet_row_threads.c:150 (worker fn has no return)対応中かも @Doomguy-BFG9000 が今日担当しました。 オープンgood first issue size:xs skill:native
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
SKaiNET-developers/SKaiNET#1358 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
libsdl-org/SDL#16539 ·
メンテナーはふだん 1 日以内に返信
-
git-workflow task-4
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
dosemu2/dosemu2#3178 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信