Repository navigation
Scrollback search benchmark and performance #15262
What do you want to change?I would like to add scrollback search performance in the terminal core. My first PR would just be a +scrollback-search benchmark with no behavior change. Why do you want to make this change?On default scrollback, each keystroke in the search takes 18 to 26 ms on my machine, and most of the time in the delay is just holding the terminal lock. When I profiled it, the matching was taking only about 2%. sliding_window.zig:602 says that "we should benchmark" and #13930 was closed because it didn't have numbers behind it. I acknowledge that:
|
Answered by
jcollie
Nov 17, 2026
Replies: 1 comment
|
!vouch |
0 replies
Answer selected by
jcollie
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
!vouch