Draft: Excess X window traffic when peer tab is selected
Currently, PeerTableModel::data() is called approximately 2128 times per second, and within that 288 times to update the display. Assuming 10 rows and 9 columns, this still averages at about 3 updates per field per second, which given that most fields so not change (network, direction, IP address) seems potentially excessive, and seems to cause significant traffic to X servers.
Still testing workarounds to this.
What approach are you considering?
@promag I'm not familiar enough with Qt and how to optimize it as of yet to have a plan, but something seems amiiss, judging from the network data throughput according to Process Monitor given the actual level of activity I'm perceiving.
I'd start here...
https://github.com/bitcoin-core/gui/blob/fe03f7a37fd0ef05149161f6b95a25493e1fe38f/src/qt/peertablemodel.cpp#L22
