Skip to content

Instantly share code, notes, and snippets.

@evanlh
Created July 20, 2016 01:21
Show Gist options
  • Save evanlh/4d95d81a1e561417c83a397ce24ee650 to your computer and use it in GitHub Desktop.
Save evanlh/4d95d81a1e561417c83a397ce24ee650 to your computer and use it in GitHub Desktop.
Native DOM cost, back of envelope
tabs--
node count - 26415
private usage - 415 mb
current bytes - 153770302 = 146mb
415 - 146mb = 269mb
drawers--
node count - 10772
private usage - 335 mb
current bytes - 127852322 = 121mb
335 - 121mb = 214mb
269mb - 214mb = 55mb = 57671680 bytes
26415 nodes - 10772 nodes = 15643 nodes
~= 3687 bytes/node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment