Performance Optimization in AI
From the Cursor cheat sheet ยท Tips & Best Practices ยท verified Jul 2026
Performance Optimization
Keep Cursor running smoothly
bash
# Performance tips:
1. Disable Tab for large files
Settings > Features > Tab > Exclusions
Add: "*.min.js", "*.bundle.js"
2. Use Privacy Mode for sensitive code
Prevents indexing of confidential files
3. Clear cache if suggestions lag
Ctrl+Shift+P โ "Clear Cache"
4. Snooze Tab when not needed
Temporarily disable completions
5. Limit context in large projects
Use specific @ references vs entire foldersbash
// EXAMPLE: Exclusion patterns
{
"tab.exclusions": [
"*.min.js",
"*.bundle.js",
"node_modules/**",
"dist/**",
"*.generated.ts"
]
}๐ก Exclude generated/minified files
โก Privacy mode for sensitive data
๐ Clear cache fixes most issues
๐ Snooze Tab during debugging
performanceoptimizationtips