Micro-stutter is one of the most frustrating bugs in game development: your internal FPS counter displays a smooth 60 or 144 FPS, yet moving the camera feels choppy and unpleasant. Here is the verified diagnostic workflow to isolate and fix it.
Step 1: Check Frame Time Graphs, Not FPS
FPS averages hide spikes. A single frame that takes 50 milliseconds followed by fifty frames taking 10 milliseconds still calculates as ~55 FPS, but the player feels a massive hiccup. Open your engine's Profiler and watch the Frame Time (ms) line. It must remain flat at 16.6ms (for 60Hz) or 6.94ms (for 144Hz).
Step 2: Eliminate Per-Frame Garbage Collection Allocations
In C# (Unity, Godot), allocating memory inside Update() or _Process() causes the Garbage Collector to freeze execution every few seconds:
• String concatenations:
text = "Score: " + score; (creates a new string object every frame).• LINQ queries:
enemies.Where(e => e.isAlive); (allocates closures and enumerators).• Array re-declarations: Allocate buffers once at boot and reuse them.
Step 3: Fix Physics vs Render Step Desynchronization
If your physics tick runs at 50Hz and monitor refreshes at 60Hz, camera movement tied to rigid bodies will hitch. Enable Transform Interpolation on your player controller to smoothly interpolate visual positions between physics ticks.