#787·makepad

High memory/CPU usage with empty window example

Author: soulchainerCreated Sep 1, 2025Updated Jun 5, 2026

I was following the Makepad tutorial - Chapter 2: Creating an Empty Window.
After building a release version of this example, which only creates an empty window, I noticed that it consumes almost 300 MB of RAM and a high percentage of CPU, despite being completely empty.

Image

Is this expected behavior for a Makepad application? If so, could you clarify what contributes to this overhead?
How does this compare to an Electron app in terms of resource usage?
I am exploring Rust-based GUI frameworks specifically to find a lightweight alternative to Electron, not something that performs similarly in memory and CPU consumption.

Additionally, I would appreciate insights on the main differences or advantages of Makepad compared to frameworks such as Tauri or Dioxus.
From what I have read, both of these also use Rust in their stack, and are generally reported to achieve significantly lower memory usage for simple applications — including the underlying WebView process where applicable.

I was considering Makepad to learn and potentially develop a lightweight native desktop app only, but these results make me wonder whether this performance is typical. Any clarification or guidance would be greatly appreciated. Thanks.


Environment

  • OS: CachyOS 6.16.4-3-cachyos, x86_64
  • CPU: AMD Ryzen 9 9950X @ 5.7GHz
  • RAM: 32 GB
  • GPU: NVIDIA GeForce RTX 5060 Ti, Driver Version: 580.76.05
  • Rust version: rustc 1.89.0 (29483883e 2025-08-04), stable
  • Makepad version: makepad-widgets = "1.0.0" (Cargo.toml dependency)
  • Command used: cargo build --release
  • Memory/CPU usage: ~300 MB RAM, high CPU (%), measured with htop
  • Desktop environment / compositor: Hyprland 0.50.1, Wayland