~/talk

Measuring Qt Performance

links:none on file
slides:none on file

Shows how to get real numbers: uses Creator and QTestLib to wrap code in QTestLib QBenchmarkLoop, runs median repeats and verbose runs, and switches from timing to callgrind instruction counts when helpful. Demonstrates a measured microbenchmark (string concat) falling from ~0.058ms to ~0.056ms after changing the code and raising QTestLib’s minimum from 20ms to 50ms. Builds an atomic-based read-write lock prototype that beats QMutex in uncontended reads, warns that allocations and threading make results noisy and that validation (QCOMPARE) must guard against accidental optimization.

AI-written summary · about

  1. 0:00Introduction to Qt performance
  2. 2:38Performance measurement basics
  3. 8:40Writing a Qt benchmark
  4. 15:28Benchmarking options and tools
  5. 23:02Profiling benchmarks
  6. 33:26Optimizing string concatenation
  7. 33:47Benchmarking Qt read-write locks
  8. 55:15Q&A on Qt performance tools
~/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.