Studio › Manual › Debug and performance

Reading the findings

  • CPU-bound: the game's main thread needs more than the budget. Cut work in the heaviest events.
  • GPU- or display-bound: the CPU is done early but frames still take long: the game waits for the GPU or the display. Draw less (resolution, full-screen effects, overdraw).
  • Instances that never move but run Step code every frame: freeze them.
  • Draw runs for instances far outside the view: skip their Draw.
  • The garbage collector: arrays, structs and methods made every frame. The allocation count comes from a short probe (60 frames with the collector paused), shown in Events as "made a frame".
  • Texture page changes and big textures: counted from the rooms and sprites (GameMaker doesn't report draw calls to the game).
  • VR: two clocks pacing frames (use tm_sleep on Android), foveation off, textures without mipmaps.

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