Benchmarks Desktop

Tauri vs Electron

Every candidate on one rig, from the same samples. Winners come from the numbers alone; the story is in the post.

IPC across the boundary

Winner Tauri (15.2 ms)

Test 1 Idiomatic 1 KB

Median round trip of a 1 KB JSON payload of seeded rows, frontend to host and back, on the path each shell's docs recommend. The value is the median pooled over every batch sample of every pass.

Idiomatic 1 KB (ms, lower is better)
Tauri0.21
Electron0.09
Idiomatic 1 KB in ms
CandidateValue (ms)Fastest pass (ms)Slowest pass (ms)Passes
Tauri0.210.200.254
Electron0.090.080.094

4 passes per candidate; the whisker spans the per-pass values.

Test 2 Idiomatic 64 KB

Median round trip of a 64 KB JSON payload of seeded rows, frontend to host and back, on the path each shell's docs recommend. The value is the median pooled over every batch sample of every pass.

Idiomatic 64 KB (ms, lower is better)
Tauri1.09
Electron2.08
Idiomatic 64 KB in ms
CandidateValue (ms)Fastest pass (ms)Slowest pass (ms)Passes
Tauri1.091.071.284
Electron2.082.002.204

4 passes per candidate; the whisker spans the per-pass values.

Test 3 Idiomatic 1 MB

Median round trip of a 1 MB JSON payload of seeded rows, frontend to host and back, on the path each shell's docs recommend. The value is the median pooled over every batch sample of every pass.

Idiomatic 1 MB (ms, lower is better)
Tauri14.5
Electron30.7
Idiomatic 1 MB in ms
CandidateValue (ms)Fastest pass (ms)Slowest pass (ms)Passes
Tauri14.514.517.74
Electron30.730.133.24

4 passes per candidate; the whisker spans the per-pass values.

Test 4 Idiomatic 16 MB

Median round trip of a 16 MB JSON payload of seeded rows, frontend to host and back, on the path each shell's docs recommend. The value is the median pooled over every batch sample of every pass.

Idiomatic 16 MB (ms, lower is better)
Tauri245
Electron626
Idiomatic 16 MB in ms
CandidateValue (ms)Fastest pass (ms)Slowest pass (ms)Passes
Tauri2452422804
Electron6266176404

4 passes per candidate; the whisker spans the per-pass values.

Test 5 Raw 1 KB

Median round trip of 1 KB of seeded bytes on the shell's bytes path: Tauri raw request and response, Electron Uint8Array over invoke. The value is the median pooled over every batch sample of every pass.

Raw 1 KB (ms, lower is better)
Tauri0.19
Electron0.05
Raw 1 KB in ms
CandidateValue (ms)Fastest pass (ms)Slowest pass (ms)Passes
Tauri0.190.180.224
Electron0.050.050.064

4 passes per candidate; the whisker spans the per-pass values.

Test 6 Raw 64 KB

Median round trip of 64 KB of seeded bytes on the shell's bytes path: Tauri raw request and response, Electron Uint8Array over invoke. The value is the median pooled over every batch sample of every pass.

Raw 64 KB (ms, lower is better)
Tauri0.26
Electron0.14
Raw 64 KB in ms
CandidateValue (ms)Fastest pass (ms)Slowest pass (ms)Passes
Tauri0.260.250.324
Electron0.140.130.174

4 passes per candidate; the whisker spans the per-pass values.

Test 7 Raw 1 MB

Median round trip of 1 MB of seeded bytes on the shell's bytes path: Tauri raw request and response, Electron Uint8Array over invoke. The value is the median pooled over every batch sample of every pass.

Raw 1 MB (ms, lower is better)
Tauri0.82
Electron1.00
Raw 1 MB in ms
CandidateValue (ms)Fastest pass (ms)Slowest pass (ms)Passes
Tauri0.820.801.054
Electron1.000.971.164

4 passes per candidate; the whisker spans the per-pass values.

Test 8 Raw 16 MB

Median round trip of 16 MB of seeded bytes on the shell's bytes path: Tauri raw request and response, Electron Uint8Array over invoke. The value is the median pooled over every batch sample of every pass.

Raw 16 MB (ms, lower is better)
Tauri9.40
Electron15.80
Raw 16 MB in ms
CandidateValue (ms)Fastest pass (ms)Slowest pass (ms)Passes
Tauri9.409.1010.754
Electron15.8015.4516.004

4 passes per candidate; the whisker spans the per-pass values.

Test 9 Push inter-arrival p99

Host emits 1024 B events at 1000 per second for 10 s over the idiomatic event path; the p99 gap between arrivals on the frontend.

Push inter-arrival p99 (ms, lower is better)
Tauri1.50
Electron1.48
Push inter-arrival p99 in ms
CandidateValue (ms)Fastest pass (ms)Slowest pass (ms)Passes
Tauri1.501.002.004
Electron1.481.401.504

Mean of 4 passes per candidate; the whisker spans the fastest and slowest pass; the lead over Tauri is inside the noise.

Webview parity

Winner Tauri (3.43 ms)

Test 1 Table frame p99

99th percentile interval between animation frames during the table test, mean over passes.

Table frame p99 (ms, lower is better)
Tauri18.0
Electron17.7
Table frame p99 in ms
CandidateValue (ms)Fastest pass (ms)Slowest pass (ms)Passes
Tauri18.018.018.05
Electron17.717.617.75

Mean of 5 passes per candidate; the whisker spans the fastest and slowest pass.

Test 2 Table step time

Main-thread time inside the table test's per-frame step, which vsync cannot hide: each pass's mean over its frames, then the mean over passes, a mean of means and not a p50 despite the id, because WKWebView reports time in whole milliseconds and a per-frame median collapses to 0 or 1.

Table step time (ms, lower is better)
Tauri0.52
Electron0.36
Table step time in ms
CandidateValue (ms)Fastest pass (ms)Slowest pass (ms)Passes
Tauri0.520.450.695
Electron0.360.330.405

Mean of 5 passes per candidate; the whisker spans the fastest and slowest pass.

Test 3 Particles frame p99

99th percentile interval between animation frames during the particles test, mean over passes.

Particles frame p99 (ms, lower is better)
Tauri22.4
Electron34.2
Particles frame p99 in ms
CandidateValue (ms)Fastest pass (ms)Slowest pass (ms)Passes
Tauri22.422.023.05
Electron34.233.834.35

Mean of 5 passes per candidate; the whisker spans the fastest and slowest pass.

Test 4 Particles step time

Main-thread time inside the particles test's per-frame step, which vsync cannot hide: each pass's mean over its frames, then the mean over passes, a mean of means and not a p50 despite the id, because WKWebView reports time in whole milliseconds and a per-frame median collapses to 0 or 1.

Particles step time (ms, lower is better)
Tauri9.74
Electron17.01
Particles step time in ms
CandidateValue (ms)Fastest pass (ms)Slowest pass (ms)Passes
Tauri9.749.4810.345
Electron17.0116.7717.365

Mean of 5 passes per candidate; the whisker spans the fastest and slowest pass.

Test 5 Raster frame p99

99th percentile interval between animation frames during the raster test, mean over passes.

Raster frame p99 (ms, lower is better)
Tauri18.0
Electron17.7
Raster frame p99 in ms
CandidateValue (ms)Fastest pass (ms)Slowest pass (ms)Passes
Tauri18.018.018.05
Electron17.717.617.75

Mean of 5 passes per candidate; the whisker spans the fastest and slowest pass.

Test 6 Raster step time

Main-thread time inside the raster test's per-frame step, which vsync cannot hide: each pass's mean over its frames, then the mean over passes, a mean of means and not a p50 despite the id, because WKWebView reports time in whole milliseconds and a per-frame median collapses to 0 or 1.

Raster step time (ms, lower is better)
Tauri0.02
Electron0.03
Raster step time in ms
CandidateValue (ms)Fastest pass (ms)Slowest pass (ms)Passes
Tauri0.020.020.035
Electron0.030.030.045

Mean of 5 passes per candidate; the whisker spans the fastest and slowest pass.

Lifecycle

Winner Electron (1.10 s)

Test 1 Cold start

Launch command to first animation frame after the OS file cache was purged, median of 20.

Cold start (s, lower is better)
Tauri1.13
Electron1.07
Cold start in s
CandidateValue (s)Fastest pass (s)Slowest pass (s)Passes
Tauri1.130.951.3420
Electron1.070.991.3020

Median of 20 passes per candidate; the whisker spans the fastest and slowest pass.

Test 2 Warm start

Same measurement immediately after a prior launch, median of 10.

Warm start (ms, lower is better)
Tauri306
Electron310
Warm start in ms
CandidateValue (ms)Fastest pass (ms)Slowest pass (ms)Passes
Tauri30629633910
Electron31030934210

Median of 10 passes per candidate; the whisker spans the fastest and slowest pass.

Test 3 Footprint over soak

Attributed memory averaged over the ten-minute soak, after the first five seconds, averaged over soaks.

Footprint over soak (MB, lower is better)
Tauri561
Electron349
Footprint over soak in MB
CandidateValue (MB)Lowest pass (MB)Highest pass (MB)Passes
Tauri5613898993
Electron3493403553

Mean of 3 passes per candidate; the whisker spans the lowest and highest pass; the lead over Tauri is inside the noise.

Test 4 Footprint peak

Highest attributed memory sampled during the soak, mean over soaks.

Footprint peak (MB, lower is better)
Tauri1,479
Electron545
Footprint peak in MB
CandidateValue (MB)Lowest pass (MB)Highest pass (MB)Passes
Tauri1,4798292,4493
Electron5455375533

Mean of 3 passes per candidate; the whisker spans the lowest and highest pass; the lead over Tauri is inside the noise.

Size

Winner Tauri (2.54 MB)

Test 1 Installer

Bytes of the default build's installer.

Installer (MB, lower is better)
Tauri2.50
Electron121.40
Installer in MB
CandidateValue (MB)
Tauri2.50
Electron121.40

One measurement per candidate.

Test 2 Installed

Bytes on disk after install and first launch.

Installed (MB, lower is better)
Tauri10.4
Electron286.1
Installed in MB
CandidateValue (MB)
Tauri10.4
Electron286.1

One measurement per candidate.

Test conditions: rig, corpus, protocol
Rig
Machine
Mac14,6
Chip
Apple M2 Max
Cores
12
Memory
96 GB
OS
macOS 26.6.2 (25G83) (arm64)
Runtime
bun 1.4.0
Browser
Tauri: 21624.5.1.11.3; Electron: Chromium 152.0.7977.78
Display
Resolution: 3840 x 2160 (2160p/4K UHD 1 - Ultra High Definition); UI Looks like: 3840 x 2160 @ 60.00Hz; Resolution: 3456 x 2234 Retina
Protocol
Warmups
5 unmeasured passes
Measured
4 passes per tool
Process
Apps launched open -n -W (LaunchServices) so the app is its own responsible process, with --disable-backgrounding-occluded-windows --disable-renderer-backgrounding passed to both shells (Chromium honors them, WKWebView has no equivalent and keeps rendering when covered); candidates interleaved A B / B A pass by pass; 20 cold and 10 warm starts, 4 IPC passes (the protocol's runs) of 50 samples per cell, each cell after 5 warmup samples (the protocol's warmups count samples in a cell, not passes), with small payloads batched to cover the webview's timer resolution, 5 parity passes of 600 frames, 3 ten-minute soaks; a conformance gate with byte-identical digests on both hosts precedes every run
Cache
OS file cache purged before every cold start; nothing purged before warm starts
Output
FIRST_FRAME marker on the host's stdout timed against the launcher's wall clock; frontend performance.now() for round trips and frames; macOS: physical footprint (phys_footprint, as Activity Monitor's Memory column) summed over every process whose responsible process is the app, which includes WKWebView's WebContent, Networking and GPU helpers for the Tauri candidate and every Electron helper for the Electron candidate; read with /usr/bin/footprint.

Scorecard

Mean of each section's samples for the candidates you picked. The best value in each column is marked in red.
CandidateIPC across the boundary (ms, lower is better)Webview parity (ms, lower is better)Lifecycle (s, lower is better)Size (MB, lower is better)
Tauri15.23.431.132.54
Electron31.25.801.10121.39

Tauri is a trademark of the Tauri Programme within The Commons Conservancy; the tauri crates and CLI are MIT or Apache-2.0. Electron is a trademark of the OpenJS Foundation; Electron is MIT-licensed. Chromium is a Google project, BSD-3-Clause.