2 ms·
Now it's a browser that was probably already in memory for one reason or another, not necessarily a process per Tauri app.
by gilrain 5y ago
Now it's a browser that was probably already in memory for one reason or another, not necessarily a process per Tauri app.
- fabiospampinato 5y agoThat's a good point, that will save you some memory unless you happen to be in a scenario where for example you use Chrome under macOS and a single Tauri app, which would then use Safari under the hood, meaning still multiple browsers. But I think that would save much less memory than people think. A bare-bones hello-world Electron app consumes about ~100MB of RAM (rough figure since it depends on many factors), maybe you can bring that down to ~20MB by sharing a common browser instance (I doubt it, a Chrome tab takes like ~50MB for me right now), but if your app uses 1GB+ of memory that has way more to do with how the app is coded than by having to spawn another instance of the browser. Basically you won't get a memory hungry app consuming 10x less memory by running it as a website.