Example 6

Example 6: Leaking DOM nodes

If the compiler uses hidden classes, your code runs MUCH faster and uses MUCH LESS memory.

  1. Open Timeline tab.
  2. Start recording activity.
  3. Repeat the next steps and watch the Timeline
    1. Create some nodes
    2. GC