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
P
Piotr Osiewicz committed
fa04f7514e3ad6963385ab5df0d85031fb500794
Parent: 69676c9
Committed by GitHub <noreply@github.com>
on 5/11/2024, 8:10:13 AM