Changes between Version 1 and Version 2 of QtWebKitProfilingSetup


Ignore:
Timestamp:
Sep 30, 2009 9:22:22 PM (15 years ago)
Author:
zecke@selfish.org
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • QtWebKitProfilingSetup

    v1 v2  
    55
    66 Execution speed::
    7   * 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.
    8   * In Qt the time can be measured using the `QBENCHMAKR { CODE}` macro in QtTest test cases.
     7  * 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?
     8  * In Qt the time can be measured using the `QBENCHMAKR { CODE }` macro in QtTest test cases.
     9
     10 CPU usage::
     11  * Who is using the CPU, how often is it used?
     12  * There are many different tools on many different architectures. On Linux x86 there is callgrind for other architectures supported by Linux there is [http://oprofile.sf.net OProfile]. The biggest difference between OProfile and callgrind is that OProfile is working by collecting samples and that callgrind is executing on a virtual machine.
     13
     14 Memory usage::
     15  * How much memory is consumed? How does this change over time?
     16  * There are multiple levels to track this. One way is to monitor how many pages the kernel has allocated for the process, another one is to look at the requested address space (sbrk) and the third way is to look at calls to malloc/free. The [http://www.secretlabs.de/memprof memprof] and memusage utilities do keep track of malloc/free calls.
     17