Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.8.0, 5.9.0, 5.9.1, 5.9.2, 5.9.3, 5.10.0, 5.9.4
-
None
-
529b4484e558376598b5bf12a3cfae6fd3969827
Description
Profile some QML with signal handlers. Each invocation of the signal handler will show up as its own distinct location in QML profiler. They should be aggregated. Apparently a separate location is generated for each QQuickItem that emits the signal. So the following code will show 5 separate signals, although it should only show one:
import QtQuick 2.7 import QtQuick.Window 2.2 Window { id: window visible: true width: 640 height: 480 title: qsTr("Hello World") Repeater { model: 5 Rectangle { height: 10 width: window.width onWidthChanged: console.log(width); } } }
Attachments
For Gerrit Dashboard: QTBUG-65190 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
214509,2 | Qml Profiling: Track signals globally | 5.9 | qt/qtdeclarative | Status: MERGED | +2 | 0 |