Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
5.9.6, 5.11.1
-
None
-
macOS 10.13.5
Windows 10 (1803) - the example hangs on Windows though, but still can be profiled
Description
When profiling an application which uses QML Repeater, all Repeater delegate Create calls have double the amount of actual repeater model size.
In simple example, completedCount has value 100000, while profiler shows 200000 Create calls.
import QtQuick 2.9 import QtQuick.Window 2.2 import QtQuick.Controls 1.4 import QtQuick.Layouts 1.3 Window { id: root visible: true width: 640 height: 480 title: "Completed components: " + completedCount property int completedCount: 0 ColumnLayout { anchors.fill: parent Repeater { model: 100000 delegate: Rectangle { width: 100 height: 5 color: "black" Component.onCompleted: { ++root.completedCount; } } } } }