Benchmarks
All benchmarks run on Github Actions on ubuntu-latest
matrix. We measure various metrics of the following applications:
- tauri_cpu_intensive
- tauri_hello_world
- tauri_3mb_transfer
- wry_cpu_intensive
- wry_hello_world
- wry_custom_protocol
- electron_cpu_intensive
- electron_hello_world
- electron_3mb_transfer
Note
The CPU intensive benchmark measures how much time it takes to calculate all the prime numbers under XXXX without blocking the UI and reporting how many have been found so far using web workers.
Execution Time
Note
This shows how much time total it takes intialize the application and wait the
DOMContentLoaded
event. We use hyperfine under the hood and run 3 warm-up sequence then, we run 10 sequences to calculate the average execution time.Binary Size
Note
We track the size of various files here. All binaries are compiled in release mode.
Memory Usage
Note
We use mprof to get the max memory usage during execution. Smaller is better.
Thread Count
Note
How many threads the application use. Smaller is better.
Syscall Count
Note
How many total syscalls are performed when executing a given application. Smaller is better.