Label are documented to be relatively heavy on the scenegraph, and it shows when displaying a trace with a high number of threads. Using Text items instead makes the scrolling blazing fast, but Text doesn't have as many pretty-printing capabilities.
The ideal solution would be to move to a ListView, or even TreeView right away. Those only fetch and render data as needed. However those are more complex Controls, and as such they probably wouldn't need a ScrollPane on the tree side to hold them. Some refactoring would be involved.
Label
are documented to be relatively heavy on the scenegraph, and it shows when displaying a trace with a high number of threads. UsingText
items instead makes the scrolling blazing fast, but Text doesn't have as many pretty-printing capabilities.The ideal solution would be to move to a
ListView
, or evenTreeView
right away. Those only fetch and render data as needed. However those are more complex Controls, and as such they probably wouldn't need aScrollPane
on the tree side to hold them. Some refactoring would be involved.