Skip to content

Instantly share code, notes, and snippets.

@martinwells
Created June 21, 2012 19:39
Show Gist options
  • Save martinwells/2968019 to your computer and use it in GitHub Desktop.
Save martinwells/2968019 to your computer and use it in GitHub Desktop.
window.performance.memory.totalJSHeapSize; // currently used heap memory
window.performance.memory.usedJSHeapSize; // total heap memory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment