Skip to content

editor: More perf work#49465

Merged
kubkon merged 2 commits intomainfrom
more-split-perf-work
Feb 18, 2026
Merged

editor: More perf work#49465
kubkon merged 2 commits intomainfrom
more-split-perf-work

Conversation

@kubkon
Copy link
Member

@kubkon kubkon commented Feb 18, 2026

Seems that SmallVec::clone is pretty expensive in a generic case, and specialising it improves the performance quite a bit!

Release Notes:

  • Improved performance of different building blocks within the MultiBuffer.

Co-authored-by: Lukas Wirth <lukas@zed.dev>
@kubkon kubkon requested review from a team as code owners February 18, 2026 12:56
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Feb 18, 2026
@zed-community-bot zed-community-bot bot added the staff Pull requests authored by a current member of Zed staff label Feb 18, 2026
Co-authored-by: Lukas Wirth <lukas@zed.dev>
@Veykril Veykril force-pushed the more-split-perf-work branch from 9fa7e0e to 1cdda75 Compare February 18, 2026 13:02
@kubkon kubkon merged commit 1957a43 into main Feb 18, 2026
27 checks passed
@kubkon kubkon deleted the more-split-perf-work branch February 18, 2026 13:20
@kubkon
Copy link
Member Author

kubkon commented Feb 18, 2026

/cherry-pick preview

github-actions bot pushed a commit that referenced this pull request Feb 18, 2026
Seems that `SmallVec::clone` is pretty expensive in a generic case, and
specialising it improves the performance quite a bit!

Release Notes:

- Improved performance of different building blocks within the
MultiBuffer.

---------

Co-authored-by: Lukas Wirth <lukas@zed.dev>
github-actions bot pushed a commit that referenced this pull request Feb 18, 2026
Seems that `SmallVec::clone` is pretty expensive in a generic case, and
specialising it improves the performance quite a bit!

Release Notes:

- Improved performance of different building blocks within the
MultiBuffer.

---------

Co-authored-by: Lukas Wirth <lukas@zed.dev>
@zed-zippy
Copy link
Contributor

zed-zippy bot commented Feb 18, 2026

🍒💥 Cherry-pick did not succeed
https://github.com/zed-industries/zed/actions/runs/22141446709

1 similar comment
@zed-zippy
Copy link
Contributor

zed-zippy bot commented Feb 18, 2026

🍒💥 Cherry-pick did not succeed
https://github.com/zed-industries/zed/actions/runs/22141446709

zed-zippy bot added a commit that referenced this pull request Feb 18, 2026
Cherry-pick of #49465 to preview

----
Seems that `SmallVec::clone` is pretty expensive in a generic case, and
specialising it improves the performance quite a bit!

Release Notes:

- Improved performance of different building blocks within the
MultiBuffer.

---------

Co-authored-by: Lukas Wirth <lukas@zed.dev>

Co-authored-by: Jakub Konka <kubkon@jakubkonka.com>
Co-authored-by: Lukas Wirth <lukas@zed.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant