The SRPG engine doesn’t have much built-in profiling (performance, memory usage, etc), and to be honest I don’t know much about profiling in Javascript. It’s one of the many low-priority items I need to research, so I’m making note of it here.
The engine doesn’t currently prune unused/inactive objects, leading to some concern that it will scale poorly once more of the game is built (e.g. running NPC ticks for characters across the world, consuming memory by keeping locations that can no longer be accessed, etc).
On the other hand, I don’t want to optimize prematurely. It’s possible the total size of the game won’t be big enough to cause problems on a decent computer.