Performance Optimization in AI

From the Cursor cheat sheet ยท Tips & Best Practices ยท verified Nov 2026

Performance Optimization

Keep Cursor running smoothly

bash
# Performance tips

1. Find a slow extension
   cursor --disable-extensions
   Then re-enable extensions one at a time

2. Ignore large generated folders
   Add dist/, build/ and .next/ to .cursorignore

3. Turn Tab off where you do not need it
   Tab indicator (bottom right): snooze, or disable per file extension

4. Free disk space used by old chats
   Cmd/Ctrl+Shift+P > "Delete Old Chats", then "GC Agent KV Blobs"

5. See what each extension costs
   Cmd/Ctrl+Shift+P > "Show Running Extensions"
bash
# .cursorignore (same syntax as .gitignore)
dist/
build/
.next/
*.min.js
**/logs
!app/            # Negate: do not ignore

# Already ignored by default:
# .gitignore entries, .env*, .git/, node_modules/, lock files
๐Ÿ’ก High CPU or memory use usually comes from extensions or settings
โšก .cursorignore keeps files away from Agent, Tab and @ mentions
๐Ÿ” Terminal commands and MCP tools can still read ignored files
๐Ÿ“Œ Privacy Mode is about training, not speed: use .cursorignore to hide files
performanceoptimizationtips

Continue with Cursor

Save the full cheat sheet or work through every related task.

More AI tasks

Back to the full Cursor cheat sheet