Updated document.txt

Puppybits authored
revision c57bb12b68f2e90fa491119d53b40e8c0fc67bd1
document

# Mobile Web Bottlenecks

## 1. Memory Usage

## 2. CPU usage

## 3. Garbage Collection

## 4. Reflow / Recalculate lLayout

### Javascript properties that trigger reflow
[http://gent.ilcore.com/2011/03/how-not-to-trigger-layout-in-webkit.html](http://gent.ilcore.com/2011/03/how-not-to-trigger-layout-in-webkit.html)

**Element**

clientHeight, clientLeft, clientTop, clientWidth, focus(), getBoundingClientRect(), getClientRects(), innerText, offsetHeight, offsetLeft, offsetParent, offsetTop, offsetWidth, outerText, scrollByLines(), scrollByPages(), scrollHeight, scrollIntoView(), scrollIntoViewIfNeeded(), scrollLeft, scrollTop, scrollWidth
**Frame, Image**

height, width

**Range**

getBoundingClientRect(), getClientRects()

**SVGLocatable**

computeCTM(), getBBox()

**SVGTextContent**

getCharNumAtPosition(), getComputedTextLength(), getEndPositionOfChar(), getExtentOfChar(), getNumberOfChars(), getRotationOfChar(), getStartPositionOfChar(), getSubStringLength(), selectSubString()

**SVGUse**

instanceRoot

**window**

getComputedStyle(), scrollBy(), scrollTo(), scrollX, scrollY, webkitConvertPointFromNodeToPage(), webkitConvertPointFromPageToNode()

## 5. CSS CPU usage

## 6. GPU Layers

# Profiling