#Speedup Tauri Dev

5 messages · Page 1 of 1 (latest)

hexed sonnet
#

As the question, I found that the compilation speed of my project is extremely slow, after analysis I found that the generate_context macro is the most time-consuming place, I tried to put it in a separate crate to let the incremental compilation optimize it, but I failed, is there a way to optimize this?

#

By the way, I tried splitting the other parts of my project into separate crates, and they did work, but since eventually all crates would still be dependent on the "main" crate, any modification would still result in a recompilation of the main crate

hexed sonnet
#

like the image, my kool-craft-launcher crate takes about 1min to build

#

and for most of the time, i just edit account or utils crate. but it cause the command crate to rebuild, and then cause the kool-craft-launchercrate to rebuild

#

Even unfolding generate_context in the IDE is quite time-consuming