What it is
A data layout and cache simulator replays the memory accesses of a loop over game entities against a set-associative LRU cache and reports hits, misses, bytes loaded and how much of each loaded cache line the loop actually uses, for array-of-structs, struct-of-arrays and blocked layouts.
When to use it
Use it to see why reading one field of many entities wastes cache lines in an array-of-structs layout, and how much a struct-of-arrays or blocked layout would save, before restructuring game data.
Gotchas & limits
It is a teaching model with no prefetcher and no timing. Browser games are often limited by rendering or garbage collection instead, so confirm with a measurement on your device.