Improve performance for selection
Yet Another Terminal :: Serial Communication :: Engineer/Test/Debug
Brought to you by:
maettu_this,
y-a-terminal
Last edit: Maettu 2022-03-11
I'll check on this. Keep in mind that YAT is a simple .NET WinFoms app with user drawn listboxes. I did quite some performance analysis in the past but it just has limitations: The drawing/coloring takes most of the CPU's time.
But note you may always reduce the number of lines in the buffer, or disable formatting completely. Both will speed up YAT's responsiveness.
Confirming this issue, it is caused by the find/search feature, which needs to perform a feasibility check for each selected line. But of course this should not be of any relevance...
Update:
The find/search feature did add its part, but it is not the main culprit, that is the stupid implementation of the .NET
ListBoxthat just isn't performance optimized. Good news though, I think I have an approach to further optimize the performance.Last edit: Maettu 2022-10-16
Terminal > Select Allnow happens instantly even with very many lines.Excellent !