Side Note: Measurements of DOM modifications are not the same as JS performance.
This is a short section of the rendering process of
CNN.com. Note almost every rendering event (Paint, or Style Change), triggers a whole sequence of "reflow" events (in green). This is one of the many things that makes changing the DOM slow.