Studio › Manual › Debug and performance

Code checks for slow spots

Run > Performance > Check Code for Slow Spots (⌥⇧⌘P) reads the code that runs every frame (Step and Draw events, and the functions they call) without running the game, and lists in Problems: things made every frame (arrays, structs, methods, new, data structures, surfaces), with inside with or a loop, instance lookups inside loops, text built every Step, instance activation every frame, files opened every frame, debug messages every Step, collision shapes changed every Step. Each has a short explanation.

Keys are shown as on the Mac: ⌘ Command, ⌥ Option, ⌃ Control, ⇧ Shift. Studio for Windows shows its own keys beside each menu item.