Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add benchmark for pathological O(N^2) behavior in QQmlChangeSet. | Milian Wolff | 2016-07-18 | 1 | -0/+10 |
This patch is just here for documentation of this behavior and does not come with a fix yet. This hotspot was found while profiling the example code attached to QTBUG-34391. It is triggered by the repeated calls to _q_itemsMoved in QQmlDelegateModel::_q_layoutChanged. Change-Id: I758744b3650c3c47dc86b914b823c3e9f96ce81e Reviewed-by: Albert Astals Cid <albert.astals@canonical.com> Reviewed-by: Daniel Vrátil <daniel.vratil@kdab.com> Reviewed-by: Christopher Adams <chris.adams@jollamobile.com> |