Details
-
Epic
-
Resolution: Unresolved
-
P1: Critical
-
None
-
None
-
2022 wk 42-43 Embedded, Embedded wk44-45 2022, Embedded wk46-47 2022, Embedded wk48-49 2022, Embedded wk50-51 2022, Embedded wk02-03 2023, Embedded wk06-07 2023, Embedded wk08-09 2023, Embedded wk10-11 2023, Embedded wk12-13 2023, Embedded wk14-15 2023, Embedded wk16-17 2023, Embedded wk18-19 2023, Embedded wk20-21 2023, Embedded wk22-23 2023, Embedded wk24-25 2023, Embedded wk34-35, Embedded wk36-37 2023, Embedded wk38-39 2023, Embedded wk40-41 2023, Embedded wk42-43 2023, Embedded wk44-45 2023, Embedded wk46-47 2023, Embedded wk48-49 2023, Embedded wk50/2023 - wk01/2024, Embedded wk02-03 2024, Embedded wk04-05 2024, Embedded wk06-07 2024, Embedded wk10-11 2024, Embedded wk14-15 2024, Embedded wk16-17 2024, Embedded wk18-19 2024, Embedded Linux wk20-21 2024, Embedded wk22-23 2024, Embedded wk26-31 2024
Description
There is a mother epic for perfomance metrics for embedded. This ticket tracks initial analysis for that epic to see if we would need a separate embedded performance benchmark app:
-how much do the current 3D and QML benchmarking apps provide
-how much would the cross-area application profiling work item help here
-document technical use cases for embedded apps - what are all the aspects we need take into account
-potential additions into performance tuning guidelines
Current guidelines:
-do not use Qt modules that rely on SW rendering such as QtCharts, the target is to use HW rendering whenever possible
-follow the best practices for Qt Quick, especially including QML cmake API so that qmllint and qmlsc as well as qmltc are available. These are however commercial only.
https://doc-snapshots.qt.io/qt6-dev/qtquick-bestpractices.html
-For drawing custom UI elements, do not use Canvas QML type but images/textures and Shader Effects (https://doc.qt.io/qt-6/qml-qtquick-shadereffect.html). Shaders require HW acceleration (GPU).
-Using Qt Quick it's possible to use either hw accelerated or software rendering backend. Using Qt Widgets on embedded is not recommend as it's always using software rendering.
-choose resolution appropriately for the UI size, need to be careful in particular with higher resolutions such as 720p as higher resolution has performance impacts
-Use Window as application root element and set application backround color for it. Do not use full screen Item as application root item! Doing so has big negative performance impact.