You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Draft: Excess X window traffic when peer tab is selected #466
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.
@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.
Activity
promag commentedon Nov 11, 2021
What approach are you considering?
rebroad commentedon Nov 12, 2021
@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.
RandyMcMillan commentedon Nov 20, 2021
I'd start here...
gui/src/qt/peertablemodel.cpp
Line 22 in fe03f7a