Skip to content

Draft: Excess X window traffic when peer tab is selected #466

Open

Description

@rebroad

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.

Activity

  1. added
    Bug
    on Nov 11, 2021
  2. promag commented on Nov 11, 2021

    @promag
    Contributor

    What approach are you considering?

  3. rebroad commented on Nov 12, 2021

    @rebroad
    ContributorAuthor

    @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.

  4. RandyMcMillan commented on Nov 20, 2021

    @RandyMcMillan
    Contributor

    I'd start here...

    // set up timer for auto refresh

    Screen Shot 2021-11-19 at 10 48 06 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions