Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- performance.memory.usedJSHeapSize
- <html>
- <body>
- <p id="memory" style="position: fixed; top:10px; left:10px; font-size: 1.5em;"></p>
- <script>
- setInterval(() => {
- document.getElementById("memory").innerHTML = performance.memory.usedJSHeapSize;
- }, 300);
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement