Repository navigation
v0.6.2
AOT Precompilation
This release adds a new command to precompile your tasks ahead of time, so every capsule run starts instantly.
What's New
capsule build main.pyBefore
The first call always pays the compilation cost.
capsule run main.py # ~6s (Build + run)
capsule run main.py # ~5ms (cached)
capsule run main.py # ~5ms (cached)After
capsule build main.py # ~5s (one-time precompilation)
capsule run main.py # ~5ms
capsule run main.py # ~5ms
capsule run main.py # ~5msNote
AOT compilation is available for both Python and TypeScript.