// the find
paulirish/memory-stats.js
minimal monitor for JS Heap Size via performance.memory
A tiny overlay widget that displays JS heap usage in real time using the non-standard `performance.memory` API, styled after mrdoob's stats.js. Aimed at game developers and WebGL folks who already use stats.js for FPS and want memory alongside it. Single-file, ~100 lines.
Dead simple to drop in — one file, no build step, no dependencies. The bookmarklet is genuinely useful for profiling pages you don't own. Pairs naturally with stats.js so you get FPS + memory in one corner without writing anything. The `--enable-precise-memory-info` flag callout in the README is the kind of thing that saves 30 minutes of confusion.
Abandoned since 2015 and it shows — `performance.memory` is Chrome-only and non-standard, and the spec was eventually removed from the platform discussion entirely. The bookmarklet points to `rawgit.com`, which shut down years ago. No npm package worth relying on (bower.json is the artifact of its time). If you're doing serious memory profiling today, Chrome DevTools' Memory panel gives you heap snapshots, allocation timelines, and retainer graphs — this widget tells you a number is going up but not why.