Interview frequency: …
Short answer
Debug for development with diagnostic tools, profile for measuring performance close to release, and release for distribution with optimizations and development tools disabled.
Explanation
The mode changes assertions, diagnostics, and optimizations, so do not measure app performance in debug. Use profile on a real device when you want to measure frames or resource consumption, then verify release behavior before publishing.
Common mistakes
- Making a performance decision from a debug run only.
- Unintentionally including development tools or logs in release.