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 folders
bash
// 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

More AI tasks

Back to the full Cursor cheat sheet