Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-28080

[Reg 8 -> 9.0] High CPU Usage by QEventLoop::processEvents()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • Qt Creator 9.0.0-beta1
    • Qt Creator 9.0.0-beta1
    • All Other Issues
    • None
    • Windows 11; MacOS
    • macOS, Windows
    • 5d4bbd38d485b2aa36e209ba6929b2456b828ac4

    Description

      Windows: QWindowsGuiEventDispatcher::processEvents() function is looping in the main UI thread, so the CPU's usage is always >= 7%.

      MacOS (Apple M1 Air): it's constantly using one CPU core by 99%.

      Attachments

        1. Report20220823-1808.diagsession
          3.95 MB
        2. Sample of Qt Creator.txt
          168 kB
        3. Stack.jpg
          Stack.jpg
          82 kB
        4. Threads.jpg
          Threads.jpg
          54 kB

        Activity

          People

            madwinter Marcus Tillmanns
            nodir.temir Nodir Temirkhodjaev
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: