-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
Qt Creator 3.6.0
-
334e4f32d9c3f95a52e20ee276b7d841f756419d
- Open the project qtdeclarative\examples\quick\demos\samegame\samegame.pro from Qt5's sources.
- Disable profiling for the QML Profiler.
- Run the project in QML Profiler.
- Click "1 Player".
- Very quickly:
- Enable Profiling.
- Click a block in the app.
- Disable profiling.
- See the recorded data in the Events view.
You might see an event with a supposed execution time of more than 100%:Location Type Time in Percent Total Time Calls Mean Time Median Time Longest Time Shortest Time Details samegame.js:174 JavaScript 269.80 % 42.995 ms 53 811.233 µs 58.860 µs 8.863 ms 15.093 µs floodFill GameArea.qml:95 Signal 100.00 % 15.936 ms 1 15.936 ms 15.936 ms 15.936 ms 15.936 ms onClicked: { if (puzzleTextBubble.opacity == 1) { puzzleTextBubble.opacity = 0; Logic.finishLoadingMap(); } else if (!swapping) { Logic.handleClick(mouse.x,mouse.y); } } <program> 100.00 % 15.936 ms 1 15.936 ms 15.936 ms 15.936 ms 15.936 ms Main Program