Skip to content

Unlock LTO #5601

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
3 tasks
Tracked by #5603
kateinoigakukun opened this issue Feb 7, 2025 · 0 comments
Open
3 tasks
Tracked by #5603

Unlock LTO #5601

kateinoigakukun opened this issue Feb 7, 2025 · 0 comments

Comments

@kateinoigakukun
Copy link
Member

kateinoigakukun commented Feb 7, 2025

This is an umbrella issue to track our work in high-level for link-time optimization (LTO)

Motivation

  • Reduce startup time by reducing code size
    • Code size is a critical part of reducing initial (un-cached) startup time as it affects download size and compilation time inside Wasm engine.
  • Gain more performance speedup by utilizing cross module information

Sub-tasks

  • Embed bitcode info in stdlib and corelibs object files
  • Adjust SwiftPM and swift-driver to properly propagate LTO options
  • TBD
@kateinoigakukun kateinoigakukun moved this to Backlog in Yuta's project Feb 7, 2025
@kateinoigakukun kateinoigakukun changed the title Code size optimizations Unlock LTO Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant