# Scratch Mechanic 182: Performance & Architecture — Variable State Setup > Practical variable state setup guide for Performance & Architecture covering single tick loops, clone pooling, save codes, and FPS profiling. Deep-dive Scratch game engineering guide #182: Performance & Architecture (Variable State Setup) with reusable block architecture. ## Performance & Architecture: Variable State Setup Build reliable performance & architecture (single tick loops, clone pooling, save codes, and FPS profiling) using the variable state setup pattern so your project stays responsive and easy to expand. - [All 200 Game Mechanics Guides](/en/mechanics/): Explore all 10 engineering domains. - [Scratch How-To Dictionary (120 Recipes)](/en/howto/): Quick recipes for common coding goals. **Performance & Architecture — Variable State Setup** - Initialize Performance & Architecture state cleanly before the main tick loop - Isolate Variable State Setup inside a named custom block or dedicated broadcast - Verify edge cases and monitor live variables during playtesting Try it: Reusable performance & architecture behavior ready to drop into any Scratch game via Backpack. Updated: 2026-11-24 Author: [Takamasa Suzuki](https://scratch.gmnavi.jp/about/author/) Japanese Edition: https://scratch.gmnavi.jp/ [Scratch Daizen (English)](https://scratch.gmnavi.jp/en/)