# chore: Improve dev build startup time \(\#11692\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/fa04f7514e3ad6963385ab5df0d85031fb500794)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: fa04f7514e3ad6963385ab5df0d85031fb500794

Requested commit: fa04f7514e3ad6963385ab5df0d85031fb500794

Commit: fa04f7514e3ad6963385ab5df0d85031fb500794

Tree: 9a3bd7fbf36b4fb67e1f70ecab6033ca774297aa

Author: Piotr Osiewicz

Committer: GitHub

## Message

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

## Parents

- [69676c9d333e0dc5aa84e5196741c7ff06dd62ca](https://git.cafe/gitcafe/zed/commit/69676c9d333e0dc5aa84e5196741c7ff06dd62ca?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/fa04f7514e3ad6963385ab5df0d85031fb500794?format=markdown)
