# search: New recent old search implementation \(\#40835\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 430b55405a7cde4da0f91777580b81f952b32278

Requested commit: 430b55405a7cde4da0f91777580b81f952b32278

Commit: 430b55405a7cde4da0f91777580b81f952b32278

Tree: d588a68e74f4c03e959e032a35b3b36dc5dde914

Author: Piotr Osiewicz

Committer: GitHub

## Message

```
search: New recent old search implementation (#40835)

This is an in-progress work on changing how task scheduler affects
performance of project search. Instead of relying on tasks being
executed at a discretion of the task scheduler, we want to experiment
with having a set of "agents" that prioritize driving in-progress
project search matches to completion over pushing the whole thing to
completion. This should hopefully significantly improve throughput &
latency of project search.

This PR has been reverted previously in #40831.

Release Notes:
- Improved project search performance in local projects.

---------

Co-authored-by: Smit Barmase <smit@zed.dev>
Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com>
```

## Parents

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

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