Skip to content

fix(cli): slow dev startup#13426

Merged
Legend-Master merged 3 commits intotauri-apps:devfrom
Legend-Master:cli-dev-slow-startup
May 14, 2025
Merged

fix(cli): slow dev startup#13426
Legend-Master merged 3 commits intotauri-apps:devfrom
Legend-Master:cli-dev-slow-startup

Conversation

@Legend-Master
Copy link
Copy Markdown
Contributor

@Legend-Master Legend-Master commented May 13, 2025

Noticed the CLI commands were quite slow to start, and they seem to use quite a lot of CPU as well, and it turned out it's polling on the file watcher results on Cargo.toml, what a scam 🤦‍♂️

@Legend-Master Legend-Master requested a review from a team as a code owner May 13, 2025 09:32
@github-project-automation github-project-automation bot moved this to 📬Proposal in Roadmap May 13, 2025
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented May 13, 2025

Package Changes Through 5fa4cad

There are 7 changes which include tauri-bundler with patch, tauri with minor, tauri-cli with patch, @tauri-apps/api with minor, tauri-utils with minor, @tauri-apps/cli with patch, tauri-runtime-wry with patch

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
@tauri-apps/api 2.5.0 2.6.0
tauri-utils 2.4.0 2.5.0
tauri-bundler 2.4.0 2.4.1
tauri-runtime 2.6.0 2.6.1
tauri-runtime-wry 2.6.0 2.6.1
tauri-codegen 2.2.0 2.2.1
tauri-macros 2.2.0 2.2.1
tauri-plugin 2.2.0 2.2.1
tauri-build 2.2.0 2.2.1
tauri 2.5.1 2.6.0
@tauri-apps/cli 2.5.0 2.5.1
tauri-cli 2.5.0 2.5.1

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

@FabianLars
Copy link
Copy Markdown
Member

loooool that's the actual "add sleep 2 secs so we can improve perf later" meme 🤣🤣🤣

Co-authored-by: Fabian-Lars <github@fabianlars.de>
@Legend-Master Legend-Master merged commit 574a4d4 into tauri-apps:dev May 14, 2025
14 checks passed
@github-project-automation github-project-automation bot moved this from 📬Proposal to 🔎 In audit in Roadmap May 14, 2025
@Legend-Master Legend-Master deleted the cli-dev-slow-startup branch May 14, 2025 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🔎 In audit

Development

Successfully merging this pull request may close these issues.

2 participants