Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Gaps in QML Profiler - Performance issues
Forum Update on Monday, May 27th 2025

Gaps in QML Profiler - Performance issues

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
qml profilerperformancegui threadfreezingqml
1 Posts 1 Posters 315 Views
  • 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.
  • V Offline
    V Offline
    vpanchal
    wrote on 8 Aug 2022, 18:20 last edited by vpanchal 8 Aug 2022, 18:21
    #1

    Hello,

    I'm working on a large QTQuick application with heavy usage of C++ in the backend and QML in frontend. The app is ran on an Embedded Linux platform with Wayland-EGL backend. I am trying to address performance issues whereby the GUI will sometimes freeze, and also stop receive/sending messages in the backend (QUdpSockets).

    From the QML profiler, I can see that I get almost periodic blips (see photos) of inactivity in the QML Profiler, which I've been able to correspond with inactivity in the GUI (for example, a second clock in UI freezes). I can also force larger periods of freezing if I enable heavier GUI usage, and enable other backend features such as video and data recording (File I/O).

    I'm auditing the C++ backend to ensure there are not any blocking calls on the GUI thread, but have not had much luck so far. I'm hoping to get some insight from the experts here on what could be some other causes or common pitfalls which could cause this sort of behaviour of the application.

    Given the entire QML profiler shows inactivity during these blips, I have figured it must be from the C++ backend. I've suspected excessive QTimers and QProcesses in the backend, but have not seen much difference in performance after disabling many of them. Could OS scheduling of the process be a factor in this?

    Any insight or thoughts are appreciated.

    Cheers!
    qmlprofiler.png qmlprofiler2.png

    1 Reply Last reply
    7

    1/1

    8 Aug 2022, 18:20

    • Login

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