From e190915c48581faf053ee4f824526b3fa6e349c2 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 1 Jan 2026 01:52:44 +0000 Subject: [PATCH] fix(linux): reduce AppImage boot time from ~50s to near-instant Change compression from "maximum" to "normal" for electron-builder. The "maximum" compression setting causes gzip/xz compression in the squashfs filesystem, which has extremely poor random access performance (~35 MB/s). This results in 50+ second boot times on Linux AppImage releases due to FUSE overhead during Electron's many small file reads at startup. With "normal" compression, the AppImage uses faster decompression algorithms, dramatically improving startup time while only marginally increasing package size. Refs: electron-userland/electron-builder#6317 Refs: electron-userland/electron-builder#7483 --- electron-builder.json5 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electron-builder.json5 b/electron-builder.json5 index 7031cc6..7e1b92a 100644 --- a/electron-builder.json5 +++ b/electron-builder.json5 @@ -6,7 +6,7 @@ "productName": "Openscreen", "npmRebuild": true, "buildDependenciesFromSource": true, - "compression": "maximum", + "compression": "normal", "directories": { "output": "release/${version}" },