Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. QTableWidget Speed adding items
Forum Updated to NodeBB v4.3 + New Features

QTableWidget Speed adding items

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 1.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    changedsoul
    wrote on last edited by
    #1

    I am playing with a QTableWidget. Developed a small app that uses it and populates it with about 6 columns and 5000 rows. I developed it in windows and timed how long it tooks to populate the widget. It took about 6 seconds in Run compile, and about 40 seconds with a debug compile.

    I booted into my Linux Mint install and opened the same project ( resetting compile directories and what not) and recompiled the exact code. Both compiles were 64bit. The linux compile ran and populated the QTableWidget with the same items, 6 columns and 5000 rows, in less than half a second in both a run compile and a debug compile.

    So my question is, has anyone experienced such a large performance differance between windows and linux? Im not knowladgeable on compilers and optimizing them, could the linux compiler be better optimized? How can I check if so?

    Is linux just that much faster at executing code than window?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved