wiki:QtWebKitProfilingSetup

Version 1 (modified by zecke@selfish.org, 11 years ago) (diff)

--

Profiling of QtWebKit

Basic Principles

Performance has many different aspects. This can include the binary size, memory usage, CPU usage, execution speed and in most cases when optimizing for one property another one will be impacted. E.g. for optimizing for execution speed another data structure with a bigger storage space is used. It is important to not only look at one property when doing a change and this is why we are focusing on the following items:

Execution speed
  • How long does it take to load a page, how long does it take to scroll, how long does it take to paint, how big is the latency is to start a network job, how long does it take to decode a image.
  • In Qt the time can be measured using the QBENCHMAKR { CODE} macro in QtTest test cases.