Windows installer (MSI) is slow
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 25/100
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- C
- Sterne
- 10
- Forks
- 8
- Ø Merge
- 21 Min.
- Gemergte PRs (30 T.)
- 1
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus FriendsofECCE/ECCE
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
FriendsofECCE/ECCE#336 · 1 Kommentar ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 25/100
FriendsofECCE/ECCE#339 ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 28/100
FriendsofECCE/ECCE#338 · 2 Kommentare ·
-
Basis Set Tool: periodic table cut off on the right; elements 110-118 still have placeholder namesOffen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 40/100
FriendsofECCE/ECCE#337 ·
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 8/100
FriendsofECCE/ECCE#335 ·
Alle Issues in FriendsofECCE/ECCE
Ähnliche Issues
-
[Issue]: hipsparselt.h C API as shipped now requires C23 -- ONLY because of missing include or guardOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
ROCm/rocm-libraries#13736 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 80/100
Maintainer antworten meist innerhalb von 1 Tag
-
`inverse()` of a controlled `CUGate` drops the phase parameter γEvtl. vergeben @rupasri118 hat das heute übernommen. Offenbug mod: circuit
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
Qiskit/qiskit#17223 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
OpenPrinting/libcupsfilters#284 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 85/100
libsdl-org/SDL#16530 ·
Maintainer antworten meist innerhalb von 1 Tag