@@ -23,24 +23,51 @@ Last month, we asked the community whether switching to **Tauri** would be a goo
2323
2424Here’s the quick comparison: The current Electron-based bundle is about ** 500 MB** on macOS, while the Tauri version is only ** 30 MB** . When it comes to RAM usage, Electron consumes around ** 666.3 MB** when opening a note, whereas Tauri uses roughly half that amount, at ** 345.6 MB** .
2525
26- <div class =" flex flex-col items-start align-center gap-2 " >
27- <div >
28- <div class="text-2xl font-semibold">Bundle Size</div>
29- <div>Electron: 500 MB</div>
30- <div style="background:#ccc; width:500px; height:10px;"></div>
31- <div>Tauri: 30 MB</div>
32- <div style="background:#999; width:30px; height:10px;"></div>
26+ <div style =" padding : 1rem 0 ;" >
27+ <h2 class =" sr-only " >Bundle size and RAM usage comparison between Electron and Tauri</h2 >
28+
29+ <p style =" font-size : 13px ; color : var (--color-text-secondary ); margin : 0 0 1.25rem ;" >Lower is better. Tests conducted on macOS 26.4.</p >
30+
31+ <div style =" margin-bottom : 1.5rem ;" >
32+ <p style="font-size: 13px; font-weight: 500; color: var(--color-text-secondary); margin: 0 0 0.75rem; text-transform: uppercase; letter-spacing: 0.05em;">Bundle size</p>
33+
34+ <div style="display: flex; align-items: center; gap: 10px; margin-bottom: 8px;">
35+ <span style="font-size: 13px; color: var(--color-text-secondary); width: 72px; text-align: right; flex-shrink: 0;">Electron</span>
36+ <div style="flex: 1; background: var(--color-background-secondary); border-radius: 4px; height: 20px; overflow: hidden;">
37+ <div style="width: 100%; height: 100%; background: #888780; border-radius: 4px;"></div>
38+ </div>
39+ <span style="font-size: 13px; font-weight: 500; color: var(--color-text-primary); width: 48px; flex-shrink: 0;">500 MB</span>
40+ </div>
41+
42+ <div style="display: flex; align-items: center; gap: 10px;">
43+ <span style="font-size: 13px; color: var(--color-text-secondary); width: 72px; text-align: right; flex-shrink: 0;">Tauri</span>
44+ <div style="flex: 1; background: var(--color-background-secondary); border-radius: 4px; height: 20px; overflow: hidden;">
45+ <div style="width: 6%; height: 100%; background: #1D9E75; border-radius: 4px;"></div>
46+ </div>
47+ <span style="font-size: 13px; font-weight: 500; color: var(--color-text-primary); width: 48px; flex-shrink: 0;">30 MB</span>
48+ </div>
49+
3350 </div >
3451
3552 <div >
36- <div class="text-2xl font-semibold">RAM Usage</div>
37- <div>Electron: 666.3 MB</div>
38- <div style="background:#ccc; width:666px; height:10px;"></div>
39- <div>Tauri: 345.6 MB</div>
40- <div style="background:#999; width:345px; height:10px;"></div>
41- </div >
42- <div class =" w-full text-center " >
43- <p class="text-sm">Lower is better. Tests were conducted on macOS 26.4.</p>
53+ <p style="font-size: 13px; font-weight: 500; color: var(--color-text-secondary); margin: 0 0 0.75rem; text-transform: uppercase; letter-spacing: 0.05em;">RAM usage (opening a note)</p>
54+
55+ <div style="display: flex; align-items: center; gap: 10px; margin-bottom: 8px;">
56+ <span style="font-size: 13px; color: var(--color-text-secondary); width: 72px; text-align: right; flex-shrink: 0;">Electron</span>
57+ <div style="flex: 1; background: var(--color-background-secondary); border-radius: 4px; height: 20px; overflow: hidden;">
58+ <div style="width: 100%; height: 100%; background: #888780; border-radius: 4px;"></div>
59+ </div>
60+ <span style="font-size: 13px; font-weight: 500; color: var(--color-text-primary); width: 64px; flex-shrink: 0;">666.3 MB</span>
61+ </div>
62+
63+ <div style="display: flex; align-items: center; gap: 10px;">
64+ <span style="font-size: 13px; color: var(--color-text-secondary); width: 72px; text-align: right; flex-shrink: 0;">Tauri</span>
65+ <div style="flex: 1; background: var(--color-background-secondary); border-radius: 4px; height: 20px; overflow: hidden;">
66+ <div style="width: 52%; height: 100%; background: #1D9E75; border-radius: 4px;"></div>
67+ </div>
68+ <span style="font-size: 13px; font-weight: 500; color: var(--color-text-primary); width: 64px; flex-shrink: 0;">345.6 MB</span>
69+ </div>
70+
4471 </div >
4572</div >
4673
0 commit comments