Skip to content

[desktop] optimise cold start #65

@undg

Description

@undg

Recommended Optimizations

  • Reduce Locale Files (High Impact)
    The locales directory is 44 MB and likely contains translations for 100+ languages you don't need. You can configure electron-builder to include only the locales you need.
  • Enable ASAR Compression (Medium Impact)
    Currently your app.asar is not explicitly configured for compression. ASAR packing can improve startup time by reducing I/O operations.

Optimize Electron-Builder Configuration (Medium Impact)

  • Enable compression
  • Remove unused Chromium features
  • Configure AppImage compression settings

Code Optimization (Low-Medium Impact)

  • Remove preload script since you're not using it
  • The window shows after loading a remote URL which adds network latency

Use V8 Snapshot (Advanced)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions