Updated document.txt

Puppybits authored
revision 8f0297e40e7a387f721254162693a51f87717986
document

# Mobile Web Bottlenecks

## 1. Memory Usage

## 2. CPU usage

## 3. Garbage Collection

## 4. Reflow / Recalculate layout

### 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