跳到主要内容

性能测试

All benchmarks run on GitHub Actions using the ubuntu-latest matrix. Various metrics are measured by the following applications:

TauriWryElectron
tauri_cpu_intensivewry_cpu_intensiveelectron_cpu_intensive
tauri_hello_worldwry_hello_worldelectron_hello_world
tauri_3mb_transferwry_custom_protocolelectron_3mb_transfer
备注

CPU 密集测试使用无阻塞 UI 来计算至一定数量上限的素数值,最后通过 Web Worker 汇报计算了多少。

执行时长

How much time in total it takes to initialize the application and wait for the DOMContentLoaded event. 其底层使用 hyperfine。在运行完三个预热序列后,程序会再运行十个序列来计算平均执行时间。

Loading data...

二进制文件大小

所有二进制文件均以发行模式 (Release) 编译。

Loading data...

内存用量

使用 mproff 来获取测试过程中的最大内存使用量。 越小越好。

Loading data...

线程数

应用程序使用的线程数量。 越小越好。

Loading data...

系统调用数

应用程序时执行的系统调用总数。 越小越好。

Loading data...

依赖数

Loading data...