From 08890635cacc6bfe338e6f3056a296dfa888fd18 Mon Sep 17 00:00:00 2001 From: CanadaHonk Date: Fri, 9 Dec 2022 12:20:42 +0000 Subject: [PATCH] readme: rewrite comparisons --- README.md | 48 +++++++++++++++++++++++++++--------------------- 1 file changed, 27 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index a3c57da..abdf55c 100644 --- a/README.md +++ b/README.md @@ -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). \ No newline at end of file +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) \ No newline at end of file