Skip to content

fix(cli): slow dev startup - #13426

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

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

Conversation

@Legend-Master

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

Copy link
Copy Markdown
Contributor

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-actions

github-actions Bot commented May 13, 2025

Copy link
Copy Markdown
Contributor

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

Comment thread crates/tauri-cli/src/interface/rust.rs
@FabianLars

Copy link
Copy Markdown
Member

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

Comment thread crates/tauri-cli/src/interface/rust.rs Outdated
Co-authored-by: Fabian-Lars <github@fabianlars.de>
@Legend-Master
Legend-Master merged commit 574a4d4 into tauri-apps:dev 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

None yet

Development

Successfully merging this pull request may close these issues.

2 participants