Skip to content

perf: reduce packaged locales and idle ADB polling - #25

Merged
man612 merged 5 commits into
mainfrom
perf/v1.2-package-runtime
Oct 7, 2026
Merged

man612 merged 5 commits into
mainfrom
perf/v1.2-package-runtime

Conversation

@man612

@man612 man612 commented Oct 7, 2026

Copy link
Copy Markdown
Owner

Summary

Applies conservative, measurable Electron optimizations without pretending the framework itself can become tiny.

Package size

  • keeps only the Electron locales Wirebound supports: en-US and id
  • adds CI verification so extra Chromium locale packs cannot silently return
  • reports unpacked Windows package size in the GitHub Actions step summary

Runtime overhead

  • polls every 2s while a VPN client is connecting
  • polls every 4s for active connected sessions
  • backs off while disconnected
  • backs off to 15s when Wirebound is idle in the tray
  • keeps connected sessions responsive even when the main window is hidden

Tests

  • adds unit coverage for the adaptive polling policy

This follows Electron's guidance to reduce unnecessary background work while hidden and electron-builder's supported locale-pruning configuration.

@man612
man612 force-pushed the perf/v1.2-package-runtime branch from a793bdf to 1b1f6cf Compare October 7, 2026 07:16
@man612
man612 changed the base branch from main to feat/v1.2-traffic-counters October 7, 2026 07:16
@man612
man612 changed the base branch from feat/v1.2-traffic-counters to main October 7, 2026 07:25
@man612
man612 force-pushed the perf/v1.2-package-runtime branch from 1b1f6cf to 1db83df Compare October 7, 2026 07:26
@man612 man612 closed this Oct 7, 2026
@man612 man612 reopened this Oct 7, 2026
@man612
man612 merged commit f25c7bb into main Oct 7, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant