-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
project search: Render results in batches (#16960)
This improves performance, because we don't render after every single match/range that was added to the results. I think for my example search it's twice as fast? ## Numbers Recorded in debug mode (because it's 6:30pm and my poor computer has spun its fan enough for today and also because you can see the change of the effect more in debug mode), rendering `<` searched in `zed.dev` repo: - Before: `14.59558225s` - After: `2.604320875s` ## Videos Before (recorded in release mode): https://github.com/user-attachments/assets/909260fa-3e69-49ab-8786-dd384e2a27ee After (recorded in release mode): https://github.com/user-attachments/assets/fc8a85d3-e575-470f-b59c-16a6df8b3f80 ## Release Notes Release Notes: - Improved performance of rendering project-search results in the multi-buffer after finding them.
- Loading branch information
Showing
1 changed file
with
47 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters