{"id":15013122,"url":"https://github.com/tauri-apps/benchmark_results","last_synced_at":"2025-10-19T14:31:20.343Z","repository":{"id":37613939,"uuid":"368468736","full_name":"tauri-apps/benchmark_results","owner":"tauri-apps","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-28T11:11:31.000Z","size":5044,"stargazers_count":12,"open_issues_count":1,"forks_count":2,"subscribers_count":10,"default_branch":"gh-pages","last_synced_at":"2024-10-29T15:44:11.315Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tauri-apps.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-18T09:13:53.000Z","updated_at":"2024-10-28T11:11:34.000Z","dependencies_parsed_at":"2024-01-18T18:17:18.799Z","dependency_job_id":"c81a0e0b-1486-427e-8e14-778d877aa357","html_url":"https://github.com/tauri-apps/benchmark_results","commit_stats":{"total_commits":2264,"total_committers":4,"mean_commits":566.0,"dds":0.009275618374558259,"last_synced_commit":"d511cf917f62ab34b83aa05e4353107de82b0e4f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tauri-apps%2Fbenchmark_results","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tauri-apps%2Fbenchmark_results/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tauri-apps%2Fbenchmark_results/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tauri-apps%2Fbenchmark_results/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tauri-apps","download_url":"https://codeload.github.com/tauri-apps/benchmark_results/tar.gz/refs/heads/gh-pages","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237143867,"owners_count":19262289,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T19:43:46.317Z","updated_at":"2025-10-19T14:31:19.655Z","avatar_url":"https://github.com/tauri-apps.png","language":null,"funding_links":["https://opencollective.com/tauri"],"categories":[],"sub_categories":[],"readme":"# Benchmarks Results\n\n[![Chat Server](https://img.shields.io/badge/chat-on%20discord-7289da.svg)](https://discord.gg/SpmNs4S)\n[![devto](https://img.shields.io/badge/blog-dev.to-black.svg)](https://dev.to/tauri)\n[![devto](https://img.shields.io/badge/documentation-tauri.studio-purple.svg)](https://tauri.studio/docs/getting-started/intro)\n[![https://good-labs.github.io/greater-good-affirmation/assets/images/badge.svg](https://good-labs.github.io/greater-good-affirmation/assets/images/badge.svg)](https://good-labs.github.io/greater-good-affirmation)\n[![support](https://img.shields.io/badge/sponsor-open%20collective-blue.svg)](https://opencollective.com/tauri)\n\nAll benchmarks run on Github Actions on `ubuntu-latest` matrix. We measure various metrics of the following applications:\n\n| Tauri                 | Wry                   | Electron                 |\n| :-------------------- | :-------------------- | :----------------------- |\n| [tauri_cpu_intensive] | [wry_cpu_intensive]   | [electron_cpu_intensive] |\n| [tauri_hello_world]   | [wry_hello_world]     | [electron_hello_world]   |\n| [tauri_3mb_transfer]  | [wry_custom_protocol] | [electron_3mb_transfer]  |\n\n[tauri_cpu_intensive]: https://github.com/tauri-apps/tauri/tree/dev/tooling/bench/tests/cpu_intensive\n[tauri_hello_world]: https://github.com/tauri-apps/tauri/tree/dev/tooling/bench/tests/helloworld\n[tauri_3mb_transfer]: https://github.com/tauri-apps/tauri/tree/dev/tooling/bench/tests/files_transfer\n[wry_cpu_intensive]: https://github.com/tauri-apps/wry/tree/dev/bench/tests/src/cpu_intensive.rs\n[wry_hello_world]: https://github.com/tauri-apps/wry/tree/dev/bench/tests/src/hello_world.rs\n[wry_custom_protocol]: https://github.com/tauri-apps/wry/tree/dev/bench/tests/src/custom_protocol.rs\n[electron_cpu_intensive]: https://github.com/tauri-apps/benchmark_electron/tree/dev/apps/cpu_intensive\n[electron_hello_world]: https://github.com/tauri-apps/benchmark_electron/tree/dev/apps/hello_world\n[electron_3mb_transfer]: https://github.com/tauri-apps/benchmark_electron/tree/dev/apps/file_transfer\n\n---\n\n### Data structure\n\n```\ninterface ExecTimeData {\n  mean: number;\n  stddev: number;\n  user: number;\n  system: number;\n  min: number;\n  max: number;\n}\n\ninterface BenchmarkData {\n  created_at: string;\n  sha1: string;\n  exec_time: {\n    [key: string]: ExecTimeData;\n  };\n  binary_size: {\n    [key: string]: number;\n  };\n  thread_count: {\n    [key: string]: number;\n  };\n  syscall_count: {\n    [key: string]: number;\n  };\n  cargo_deps: {\n    [key: string]: number;\n  };\n}\n```\n\n---\n\n### Execution time\n\nThis shows how much time total it takes intialize the application and wait the `DOMContentLoaded` event. We use [hyperfine](https://github.com/sharkdp/hyperfine) under the hood and run 3 warm-up sequence then, we run 10 sequences to calculate the average execution time.\n\n### Binary size\n\nWe track the size of various files here. All binary are compiled in release mode.\n\n### Memory memory usage\n\nWe use `time -v` to get the max memory usage during execution. Smaller is better.\n\n### Thread count\n\nHow many threads the application use. Smaller is better.\n\n### Syscall count\n\nHow many total syscalls are performed when executing a given application. Smaller is better.\n\n---\n\n### CPU Intensive\n\nThe CPU intensive benchmark measures how much time it takes to calculate all the prime numbers under XXXX wihtout blocking the UI and reporting how many have been found so far using web workers.\n\n### Hello World\n\nThis benchmark measures how long it takes to get an application fully started.\n\n### Custom Protocol\n\nTest WRY with a custom protocol. (local files)\n\n---\n\n### Acknowledgement\n\nWe would like to thank the authors and contributors to [deno](https://github.com/denoland/deno) for their groundbreaking work upon which the benchmarking system is not only based, but also leans heavily upon. Thankyou!!!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftauri-apps%2Fbenchmark_results","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftauri-apps%2Fbenchmark_results","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftauri-apps%2Fbenchmark_results/lists"}