Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Why pSerialPortQPlainTextEdit showed slow I think QT is bug ????
Forum Updated to NodeBB v4.3 + New Features

Why pSerialPortQPlainTextEdit showed slow I think QT is bug ????

Scheduled Pinned Locked Moved General and Desktop
5 Posts 3 Posters 1.1k 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.
  • O Offline
    O Offline
    ohno
    wrote on last edited by
    #1

    QElapsedTimer timer;
    timer.start();
    pSerialPortQPlainTextEdit.insertPlainText(DatatFormRead);
    pSerialPortQPlainTextEdit.moveCursor(QTextCursor::End, QTextCursor::KeepAnchor);
    qDebug() << "The slow operation took" << timer.nsecsElapsed() <<"nanoseconds";
    test result:
    The slow operation took 1017500 nanoseconds
    The slow operation took 1018310 nanoseconds
    The slow operation took 1421502 nanoseconds
    The slow operation took 1186476 nanoseconds

    The slow operation took 10685984 nanoseconds
    The slow operation took 10668154 nanoseconds
    The slow operation took 10564419 nanoseconds
    The slow operation took 10569686 nanoseconds
    The slow operation took 10243486 nanoseconds
    The slow operation took 10473245 nanoseconds
    The slow operation took 10746766 nanoseconds
    The slow operation took 10772700 nanoseconds
    The slow operation took 10583059 nanoseconds
    The slow operation took 11221681 nanoseconds
    The slow operation took 10795798 nanoseconds
    The slow operation took 16827051 nanoseconds

    The slow operation took 222369451 nanoseconds
    The slow operation took 205003460 nanoseconds
    The slow operation took 222164411 nanoseconds
    The slow operation took 204823949 nanoseconds
    The slow operation took 209414655 nanoseconds
    The slow operation took 186572559 nanoseconds
    The slow operation took 209589304 nanoseconds
    The slow operation took 214433676 nanoseconds
    The slow operation took 219041401 nanoseconds
    According to the results of QT spam more slowly, with the increase of time

    1 Reply Last reply
    0
    • B Offline
      B Offline
      blackRock
      wrote on last edited by
      #2

      no people focus on this problem.

      1 Reply Last reply
      0
      • B Offline
        B Offline
        blackRock
        wrote on last edited by
        #3

        no people focus on this problem.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          Please don't post the same thread twice, closing this one

          "Duplicate":http://qt-project.org/forums/viewthread/50705/

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Hi,

            Please don't post the same thread twice, closing this one

            "Duplicate":http://qt-project.org/forums/viewthread/50705/

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            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