3 Commits
Author SHA1 Message Date
oxmc 0f83d848d1 Remove --always-compact V8 flag: no longer recognized in newer V8
V8's --js-flags parser stops at the first unrecognized flag and silently
drops everything after it in the same string. --always-compact was removed
from V8 at some point after the versions bundled in Electron ~41; on newer
Electron (confirmed broken on a castlabs v43.0.0+wvcus build) it killed
--optimize-for-size right after it in every js-flags string that had it,
even though --optimize-for-size itself is still valid. Verified via
--v8-options against the actual bundled V8 that gc-global/optimize-for-size/
max-semi-space-size/initial-heap-size are still real flags — only
always-compact needed to go.
2026-07-26 04:21:46 -07:00
oxmc b045a22b5d Add prepare script and repository field for git-dependency installs
Not published to npm, so consumers install it as a git dependency. npm only
runs devDependencies + the prepare lifecycle script for git deps (unlike a
registry install, which skips devDependencies and ships prebuilt dist/ instead),
so without this, dist/ would be missing on install.
2026-07-26 04:05:20 -07:00
oxmc 8a8a824f3b Initial commit: tiered Chromium/V8 flags, GC/cache monitor, per-window memory helpers
Extracted and generalized from hand-tuned memory optimizations in an Electron app
template: memory/GPU/Raspberry-Pi-tiered command-line flags, a runtime GC + total-
process memory monitor with pressure-triggered deep clean, and per-window hide/
minimize memory helpers.
2026-07-26 03:10:19 -07:00