~/talk

Creating Performant Qt Quick Apps

Talkat Qt Developer Days Munich 2011 · 2011-10-24..10-26· [web-performance]
links:none on file
slides:none on file

A QML demo creates 3,600 rectangles and takes four minutes to start, uses ~200 MB and ~12,000 signal‑slot connections; profiling with the QML profiler, callgrind, massif and powertop shows nested Repeaters and abundant property bindings as the causes. Replacing nested Repeaters with index math, inlining convenience properties into JavaScript, assigning the model in Component.onCompleted, and disabling tiny animations reduces memory to ~20 MB, doubles animation frame rate and yields a 250× speedup, with shutdown becoming effectively instant.

AI-written summary · about

  1. 0:00Introduction to Qt Quick performance
  2. 1:55Analyzing a slow QML example
  3. 7:20Profiling tools overview
  4. 10:09Using callgrind for deep profiling
  5. 15:30Memory profiling with Massif
  6. 17:40Platform-specific performance factors
  7. 20:12Understanding property bindings
  8. 26:51Optimizing nested repeaters
  9. 33:40Reducing property overhead
  10. 38:13Results of performance fixes
  11. 41:04General QML performance tips
  12. 45:27Power consumption issues
  13. 48:37Diagnosing battery drain
  14. 54:59Common performance myths
  15. 57:06JavaScript vs QML performance
  16. 58:35Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.