Results 1 to 6 of 6

Thread: Multiple QNetworkRequest slows the GUI performance

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,335
    Qt products
    Qt5
    Platforms
    Windows
    Thanks
    317
    Thanked 871 Times in 858 Posts

    Default Re: Multiple QNetworkRequest slows the GUI performance

    //Now can you help me with a solution which wont effect my performance.
    I gave you one. Read my post again. You cannot poll every LED every second if it takes more than one second for the LED to respond. You have to treat every LED (or group of LEDs) independently:

    - Ask the LED group for its data
    - Wait for the finished() signal
    - Get the data and tell the plot to update
    - Wait one second (for that LED group only)
    - Repeat

    What is the point of setting a performance goal (one second updates of everything) when your hardware cannot perform at that rate? Asking for data more often won't make it come in any faster.
    Last edited by d_stranz; 22nd October 2020 at 17:33.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

  2. The following user says thank you to d_stranz for this useful post:

    deepikha (23rd October 2020)

Similar Threads

  1. Performance issues with multiple visible Windows
    By Zmote89 in forum Qt Programming
    Replies: 4
    Last Post: 4th May 2017, 19:20
  2. Multiple QGLWidgets performance issue
    By louissmr in forum Qt Programming
    Replies: 0
    Last Post: 18th July 2013, 08:28
  3. Multiple QGLWidgets slow performance
    By seesomi in forum Qt Programming
    Replies: 1
    Last Post: 15th February 2013, 09:20
  4. Replies: 1
    Last Post: 14th April 2011, 15:21
  5. rendering svg using QGraphicsSVGItem slows doen the performance
    By sanjayshelke in forum Qt Programming
    Replies: 4
    Last Post: 1st September 2009, 06:52

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.