... | ... | @@ -30,6 +30,12 @@ In order to attach to the device and do profiling, go to `Analyze->QML Profiler |
|
|
|
|
|
You will see the QML profiler popup on the bottom of the IDE. Read more about using the profiler [in the official documentation](https://doc.qt.io/qtcreator/creator-qml-performance-monitor.html).
|
|
|
|
|
|
Alternatively, passing the `-qmljsdebugger=port:3678,block` flag blocks startup of the shell until the profiler has been attached, which can be useful for profiling shell startup:
|
|
|
|
|
|
```bash
|
|
|
$ PLASMA_ENABLE_QML_DEBUG=1 plasmashell -p org.kde.plasma.phoneshell -qmljsdebugger=port:3678,block --replace
|
|
|
```
|
|
|
|
|
|
## Profiling
|
|
|
|
|
|
TODO https://github.com/KDAB/hotspot
|
... | ... | |