MyGo 1.0 profiling: D3D11 drawcalls cost 3M cycles, dwarfing layout and paint

YouJiacheng · x · 2026-12-06

YouJiacheng profiled MyGo 1.0 (a custom UI framework) during typing: Signal + Layout cost just 0.02M CPU cycles, Paint 0.25M, gpu.Builder 0.5M, UIA tree rebuild 1.1M, Win32 message loop 0.6M, while D3D11 drawcalls and driver background threads consume 3M cycles. Takeaway: the logic layer is nearly free—the bottleneck is gpu.Builder.Build() and D3D11 drawing/driver overhead.

Related event: Developer profiles MyGo 1.0 UI framework, finds GPU Builder dominates CPU usage(2 posts)→

Original post →

More from coding & agent

coding & agent channel →