|
|
|
|
|
by ogoffart
11 days ago
|
|
I was curious, so I asked Claude to make a benchmark with this prompt: "I'd like you to make an hello world in Slint (skia GPU and software renderer), EGUI, electron, QML, QWidget, and measure the RAM usage." Results on Linux, PSS 400×200 window: Slint, software renderer: 13.5 MiB
Qt 6.12 Widgets: 33.6 MiB
Qt 6.12 QML, software scenegraph: 48.1 MiB
Slint, Skia Vulkan: 75.7 MiB
egui (wgpu, Vulkan): 98.3 MiB
Qt 6.12 QML (OpenGL, default): 125.0 MiB
Electron 45: 260 MiB
(The GPU rows ran on Mesa's software drivers)
I think QML intrinsically takes more memory: it has a JS engine, and every item is a dynamic object. In Slint, almost everything is resolved at compile time and compiled.So I wouldn't call Slint resource hungry |
|