chore: Improve dev build startup time (#11692)
RustEmbed repeatedly compiled regexes for handling of 'include='/'exclude' statements in a hot loop, which caused each call to Assets::iter() to take 600ms. Since it is being called twice on our startup path, that alone contributed over a second to startup time in debug builds. I've filed a PR with them https://github.com/pyrossh/rust-embed/pull/244 which brings down the time for a single iter() call to 6ms. Release Notes: - N/A
This commit is contained in:
parent
69676c9d33
commit
fa04f7514e
3 changed files with 8 additions and 8 deletions
|
@ -26,7 +26,7 @@ node_runtime.workspace = true
|
|||
project.workspace = true
|
||||
regex.workspace = true
|
||||
rope.workspace = true
|
||||
rust-embed = "8.2.0"
|
||||
rust-embed.workspace = true
|
||||
serde.workspace = true
|
||||
serde_json.workspace = true
|
||||
settings.workspace = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue