web-to-desktop-framework-comparison
web-to-desktop-framework-comparison copied to clipboard
This repository has been made to create an objective comparison of multiple frameworks that allow us to "transform" our web apps to desktop applications.
Web to Desktop framework comparison
This repository was made to create an objective comparison of multiple framework that grant us to "transform" our web app to desktop application formats.
Table Of Content
- Major characteristics
- Operating systems
-
Benchmarks
- 01 - Empty app
- 02 - Empty app (Frameless)
Major characteristics
Electron | NW.JS | Tauri | NodeGui | Neutralino | Flutter | .Net MAUI | |
---|---|---|---|---|---|---|---|
Github stars | 103.3k | 39.1k | 48.6k | 7.8k | 5.9k | 143.8k | 16.7k |
Forks | 13.8k | 4k | 1.2k | 0.2k | 0.3k | 23k | 1k |
Creation date | 2013 | 2011 | 2019 | 2019 | 2018 | 2018 | 2020 |
Last Update | 2021 | 2021 | 2021 | 2021 | 2021 | 2021 | 2021 |
Framework Language | C++, JS, Objective-C, Python | C++ | Rust | C++ | C++ | C, C++, Dart | C# |
Usage Language - Back | JS, C++ | JS, C++ | Rust | JS, C++ | JS, C++ | Dart | C# |
Usage Language - Front | HTML, CSS, JS | HTML, CSS, JS | HTML, CSS, JS | HTML, CSS, JS | HTML, CSS, JS | Dart | C# |
License | MIT | MIT | MIT | MIT | MIT | BSD 3-Clause | MIT |
Developer Dependencies | Node.js, Electron NPM Package | Node.js, NW.JS SDK | C++ Compiler, Node.js, Rustc, Cargo | Cmake, make, Node.js, NodeGUI NPM Package | Node.js, Neu NPM Package | Flutter SDK, Visual Studio 2019 / Clang | .Net SDK, Visual Studio (optional), WebView2 (optional), Xcode (optional) |
User Dependencies | None | None | None | None | None | None | None |
Dependencies / modules support | npm & node.js native addons | npm & node.js native addons | cargo | npm & node.js native addons | ❌ | pub.dev | NuGet |
Engine | Chromium | Webkit, Chromium | WRY (WebKitGTK for Linux, WebKit for MacOS, Webview2 for Windows) | Qt | WebkitGTK+ | Flutter engine | .NET MAUI |
Operating systems support
Electron | NW.JS | Tauri | NodeGui | Neutralino | Flutter | .Net MAUI | ||
---|---|---|---|---|---|---|---|---|
Developement Environment | Windows | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
MacOS | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | |
Linux | ✔️1 | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | |
Target Environment | Windows | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
MacOS | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | |
Linux | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | Soon | |
Android | ❌ | Requested | Soon2 | ❌ | ❌ | ✔️ | ✔️ | |
iOS | ❌ | ❌ | In progress2 | ❌ | ❌ | ✔️ | ✔️ | |
tvOS | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✔️ | |
Web | ❌ | ❌ | ❌ | ❌ | ✔️3 | ✔️ | ❌ |
1: Linux 32 Bit support dropped
2: https://github.com/tauri-apps/tauri#platforms
3: Uses modes to generate web apps
Benchmarks
See benchmarks.json to get more informations about following data.
Note: These benchmarks are done on Github CI, there are measures to have measurements more accurates (e.g. multiple runs), but it will never exactly be accurate, as it totally depends on system load and resources. You should read these tables as comparision between frameworks on a same OS/Arch/App with a margin of error.
01-empty-app
See source in benchmark/01-empty-app folder.
Build size
Electron | NW.JS | Tauri | NodeGui | Neutralino | Flutter | .Net MAUI | |
---|---|---|---|---|---|---|---|
Windows (x64) | ≈202MB | ≈317MB | ≈3MB | ? | ≈2MB | ? | ? |
Windows (x86) | ≈180MB | ≈288MB | ? | ? | ? | ? | ? |
Windows (ARM64) | ≈202MB | Requested | ? | ? | ? | ? | ? |
MacOS (x64) | ≈331MB | ≈488MB | ≈6MB | ? | ≈1MB | ? | ? |
MacOS (arm64) | ≈316MB | ? | ? | ? | ? | ? | ? |
Linux (x64) | ≈204MB | ≈423MB | ≈6MB | ? | ≈1MB | ? | ? |
Linux (x86) | ? | ≈421MB | ? | ? | ? | ? | ? |
Linux (ARMv7l) | ≈145MB | Requested | ? | ? | ? | ? | ? |
Linux (ARM64) | ≈209MB | Requested | ? | ? | ≈1MB | ? | ? |
Build time
Electron | NW.JS | Tauri | NodeGui | Neutralino | Flutter | .Net MAUI | |
---|---|---|---|---|---|---|---|
Windows (x64) | ≈5803ms | ≈73463ms | ≈631774ms | ? | ≈700ms | ? | ? |
Windows (x86) | ≈5803ms | ≈73463ms | ? | ? | ? | ? | ? |
Windows (ARM64) | ≈5803ms | Requested | ? | ? | ? | ? | ? |
MacOS (x64) | ≈3872ms | ≈73463ms | ≈409964ms | ? | ≈700ms | ? | ? |
MacOS (arm64) | ≈3872ms | ? | ? | ? | ? | ? | ? |
Linux (x64) | ≈3234ms | ≈73463ms | ≈474225ms | ? | ≈700ms | ? | ? |
Linux (x86) | ? | ≈73463ms | ? | ? | ? | ? | ? |
Linux (ARMv7l) | ≈3234ms | Requested | ? | ? | ? | ? | ? |
Linux (ARM64) | ≈3234ms | Requested | ? | ? | ≈700ms | ? | ? |
Memory Usage
Electron | NW.JS | Tauri | NodeGui | Neutralino | Flutter | .Net MAUI | |
---|---|---|---|---|---|---|---|
Windows (x64) | ≈64MB (Debug) => ≈79MB (Release) | ≈85MB (Debug) => ≈53MB (Release) | ≈42MB (Debug) => ≈24MB (Release) | ≈119MB (Debug) | ≈53MB (Debug) | ≈271MB (Debug) | ≈3MB (Debug) |
MacOS (x64) | ≈65MB (Debug) => ≈63MB (Release) | ≈43MB (Debug) => ≈76MB (Release) | ≈58MB (Debug) => ≈29MB (Release) | ≈137MB (Debug) | ≈77MB (Debug) => ≈27MB (Release) | ≈142MB (Debug) | ≈23MB (Debug) |
Linux (x64) | ≈116MB (Debug) => ≈110MB (Release) | ≈96MB (Debug) => ≈53MB (Release) | ≈167MB (Debug) => ≈154MB (Release) | ≈148MB (Debug) | ≈175MB (Debug) => ≈182MB (Release) | ≈408MB (Debug) | ≈8MB (Debug) |
Start duration
Electron | NW.JS | Tauri | NodeGui | Neutralino | Flutter | .Net MAUI | |
---|---|---|---|---|---|---|---|
Windows (x64) | ≈174ms (Debug) => ≈130ms (Release) | ? | ≈110ms (Debug) => ≈116ms (Release) | ? | ? | ? | ? |
MacOS (x64) | ≈289ms (Debug) => ≈264ms (Release) | ? | ≈681ms (Debug) => ≈496ms (Release) | ? | ? | ? | ? |
Linux (x64) | ≈94ms (Debug) => ≈86ms (Release) | ? | ≈261ms (Debug) => ≈174ms (Release) | ? | ? | ? | ? |
02-empty-app-frameless
See source in benchmark/02-empty-app-frameless folder.
Build size
Electron | NW.JS | Tauri | NodeGui | Neutralino | Flutter | .Net MAUI | |
---|---|---|---|---|---|---|---|
Windows (x64) | ≈202MB | ≈317MB | ≈3MB | ? | ≈2MB | N/A1 | ? |
Windows (x86) | ≈180MB | ≈288MB | ? | ? | ? | N/A1 | ? |
Windows (ARM64) | ≈202MB | Requested | ? | ? | ? | N/A1 | ? |
MacOS (x64) | ≈331MB | ≈488MB | ≈6MB | ? | ≈1MB | N/A1 | ? |
MacOS (arm64) | ≈316MB | ? | ? | ? | ? | N/A1 | ? |
Linux (x64) | ≈204MB | ≈423MB | ≈6MB | ? | ≈1MB | N/A1 | ? |
Linux (x86) | ? | ≈421MB | ? | ? | ? | N/A1 | ? |
Linux (ARMv7l) | ≈145MB | Requested | ? | ? | ? | N/A1 | ? |
Linux (ARM64) | ≈209MB | Requested | ? | ? | ≈1MB | N/A1 | ? |
Build time
Electron | NW.JS | Tauri | NodeGui | Neutralino | Flutter | .Net MAUI | |
---|---|---|---|---|---|---|---|
Windows (x64) | ≈3841ms | ≈12258ms | ≈457173ms | ? | ≈625ms | N/A1 | ? |
Windows (x86) | ≈3841ms | ≈12258ms | ? | ? | ? | N/A1 | ? |
Windows (ARM64) | ≈3841ms | Requested | ? | ? | ? | N/A1 | ? |
MacOS (x64) | ≈3820ms | ≈12258ms | ≈376325ms | ? | ≈625ms | N/A1 | ? |
MacOS (arm64) | ≈3820ms | ? | ? | ? | ? | N/A1 | ? |
Linux (x64) | ≈1998ms | ≈12258ms | ≈481666ms | ? | ≈625ms | N/A1 | ? |
Linux (x86) | ? | ≈12258ms | ? | ? | ? | N/A1 | ? |
Linux (ARMv7l) | ≈1998ms | Requested | ? | ? | ? | N/A1 | ? |
Linux (ARM64) | ≈1998ms | Requested | ? | ? | ≈625ms | N/A1 | ? |
Memory Usage
Electron | NW.JS | Tauri | NodeGui | Neutralino | Flutter | .Net MAUI | |
---|---|---|---|---|---|---|---|
Windows (x64) | ≈66MB (Debug) => ≈78MB (Release) | ≈81MB (Debug) => ≈49MB (Release) | ≈43MB (Debug) => ≈22MB (Release) | ≈121MB (Debug) | ≈56MB (Debug) | N/A1 | ≈2MB (Debug) |
MacOS (x64) | ≈65MB (Debug) => ≈63MB (Release) | ≈52MB (Debug) => ≈73MB (Release) | ≈55MB (Debug) => ≈27MB (Release) | ≈139MB (Debug) | ≈80MB (Debug) => ≈26MB (Release) | N/A1 | ≈21MB (Debug) |
Linux (x64) | ≈113MB (Debug) => ≈108MB (Release) | ≈86MB (Debug) => ≈54MB (Release) | ≈164MB (Debug) => ≈154MB (Release) | ≈141MB (Debug) | ≈175MB (Debug) => ≈181MB (Release) | N/A1 | ≈8MB (Debug) |
Start duration
Electron | NW.JS | Tauri | NodeGui | Neutralino | Flutter | .Net MAUI | |
---|---|---|---|---|---|---|---|
Windows (x64) | ≈133ms (Debug) => ≈101ms (Release) | ? | ≈90ms (Debug) => ≈78ms (Release) | ? | ? | N/A1 | ? |
MacOS (x64) | ≈304ms (Debug) => ≈336ms (Release) | ? | ≈452ms (Debug) => ≈221ms (Release) | ? | ? | N/A1 | ? |
Linux (x64) | ≈92ms (Debug) => ≈82ms (Release) | ? | ≈278ms (Debug) => ≈179ms (Release) | ? | ? | N/A1 | ? |
1: Frameless mode not supported yet
Future content
TODO:
- WebGL Support
- Build constraints
- Source code protection
- Modules support (npm, native, etc.)
Benchmarks ideas:
- BabylonJS scene
- spreadsheet
- IDE