Measure a whole room on the slowest supported device
PERFORMANCE
A game can feel fine while the player stands in a quiet room and stutter the instant an animated character enters. Pick a demanding room and a repeatable route. Walk, open inventory, start dialogue, trigger one effect and leave. Time the first visit and a return visit separately.
| Observation | What to change for the next comparison |
|---|---|
| Room is slow all the time | Choose a frame-rate target. A steady 30 fps allows about 33.3 ms per frame; 60 fps allows about 16.7 ms. Lower the 3D rendering resolution in a test copy. A big improvement points toward GPU work. Compare shadows, lights, transparency and full-screen effects individually. |
| Tap responds late | Measure the gap between touch, accepted action and visible feedback. If frame time is steady, check for release-based gestures, long-press thresholds, actor approach or UI overlays. A door can acknowledge a tap before the actor reaches it. |
| Only the first entry hitches | Measure asset import or load time, shader warm-up and first-time effects. Compare a cold launch with a warm revisit. Avoid introducing a large movie, several textures and a room change in the same frame. |
| Game closes after several rooms | Watch memory while alternating between the same two rooms. A rising baseline after each visit suggests retained assets or nodes. Inspect texture size, actor models and video buffers. Remember that pressure can terminate an app without a normal script exception. |
Try a sustained session on battery, at a consistent brightness and with similar background activity. A phone can slow down once warm. Use Godot’s Profiler on a development build, Android Studio or system tracing for Android, and Xcode Instruments on Apple. Compare the release build too; debugging and recording add overhead.
