Hacker News new | ask | show | jobs
by petabyt 885 days ago
A while ago I compared the memory usage of Electron and Tauri/Webview, and Electron did same if not better in RAM usage.
1 comments

That’s normal and expected since they both use the same browser. Difference is when you have multiple apps open. All Tauri apps, along with your browser use the same libraries and binaries loaded into the memory. Meanwhile every electron app loads another browser into the memory.

Ofc I’m simplyfying a bit since if you use Firefox as your browser and Tauri uses Chromium that’s two browsers worth of memory usage, but still not 5 or 10.

> Meanwhile every electron app loads another browser into the memory.

this will become a problem once the systray clock becomes it's own (electron based) app

Has somebody actually compared same applications running on electron vs tauri? With sandboxing enabled.