readme: rewrite comparisons

This commit is contained in:
CanadaHonk 2022-12-09 12:20:42 +00:00
parent 3359cbd955
commit 08890635ca

View File

@ -10,25 +10,31 @@ Minimal library and integrated ecosystem for making "desktop apps" from websites
### Apps
- [Glucord](glucord): minimal Discord client loading official webapp (demo/example)
## Comparison
### Internals
| Part | Electron | Gluon |
| ---- | -------- | ----- |
| Frontend | Self-contained Chromium | System installed Chromium |
| Backend | Self-contained Node.JS | System installed Node.JS |
| IPC | Electron's Internal API | Gluon's API via CDP |
| Status | Production ready | Early in development |
| Ecosystem | Distributed (many separate projects) | Integrated |
### Stats
| Stat | Electron | Gluon |
| ---- | -------- | ----- |
| Build Size | ~190MB | ~2MB[^1][^2] |
[^1]: Does not include system installed components
[^2]: Early/WIP data, can be reduced in future
## Release Schedule
Gluon (and it's subprojects) use a `major.patch` version format, with major releases being released at ~22:00 UTC daily if there are changes present in `main`, while using `X.0-dev` in the meantime. Patch releases may happen inbetween to fix bugs (not adding anything new or breaking).
Gluon (and it's subprojects) use a `major.patch` version format, with major releases being released daily if there are changes present in `main`, while using `X.0-dev` in the meantime. Patch releases may happen inbetween to fix bugs (not adding anything new or breaking).
## Comparisons
### Internals
| Part | Gluon | Electron | Tauri | Neutralinojs |
| ---- | ----- | -------- | ------------ | ----- |
| Frontend | System installed Chromium | Self-contained Chromium | System installed webview | System installed webview |
| Backend | System installed Node.JS | Self-contained Node.JS | Native (Rust) | Native (Any) |
| IPC | None (WIP) | Preload | Window object | Window object |
| Status | Early in development | "Production ready" | Usable | Usable |
| Ecosystem | Integrated | Distributed | Integrated | Integrated |
### Benchmark / Stats
*Basic (plain HTML) Hello World demo, measured on up to date Windows 10. Used latest stable versions of all frameworks as of 9th Dec 2022.*
| Stat | Gluon | Electron | Tauri | Neutralinojs |
| ---- | ----- | -------- | ------------ | ----- |
| Build Size | ~1.8MB[^system][^gluon] | ~190MB | ~1.8MB[^system] | ~2.6MB[^system] |
| Memory Usage | ~90MB[^gluon] | ~100MB | ~90MB | ~90MB |
| Backend[^1] Memory Usage | ~13MB[^gluon] | ~22MB | ~3MB | ~3MB |
[^system]: Does not include system installed components
[^gluon]: Early/WIP data, may change in future
[^1]: Backend like non-Web (not Chromium/WebView2/etc)