Documentation
README
Makepad 2.0 Performance & Debugging Skill
1. Overview
Makepad 2.0 uses a unique rendering pipeline combined with the Splash script VM. Performance depends on understanding three critical subsystems:
- Draw Batching - How Makepad groups GPU draw calls and why
new_batch: truematters - Garbage Collection - The Splash VM's mark-sweep GC with per-type-bucket thresholds
- Render Triggers - The
on_render/.render()system that controls when sub-trees rebuild
Unlike traditional retained-mode UI frameworks, Makepad uses an immediate-mode-inspired draw pipeline where widgets emit draw commands into a sorted batch list. Understanding this pipeline is essential for diagnosing invisible text, flickering, and performance regressions.
2. Draw Batching System
This is the opening of the README. Read the full README on GitHub.