Google GeminiGoPerformance
Generic Performance Rules for Google Gemini
Generic Performance Rules adapted for Google Gemini. High-signal generic engineering guidance for real projects.
rules file
# Generic Performance Rules for Google Gemini ## Principle - Measure first. Optimize bottlenecks, not guesses. - Define budgets (latency, memory, bundle size) per critical path. ## Data & compute - Avoid N+1 queries and unbounded loops. - Cache expensive reads with explicit invalidation strategy. - Batch network and DB operations where possible. ## Frontend - Lazy-load heavy modules. - Avoid unnecessary re-renders; memoize only after profiling. - Keep critical rendering path minimal.
How to use with Google Gemini
#performance#profiling#scalability#gemini#generic-rules#go#ai-coding-rules
Related Rules
Go Cursor Rules
CursorGo
Cursor rules for Go: idiomatic Go patterns, error handling, concurrency, and Go module conventions.
Code Style
go · golangCopy Ready
Go Claude Rules
ClaudeGo
Claude rules for Go: project structure, error handling, testing, and idiomatic Go patterns.
Architecture
go · golangCopy Ready
Go Windsurf Rules
WindsurfGo
Windsurf rules for Go: hexagonal architecture, clean code, observability, and production Go patterns.
Architecture
go · windsurfCopy Ready
Echo Architecture Rules for GitHub Copilot
GitHub CopilotGo
SEO-ready GitHub Copilot rules for Echo architecture with copy-paste instructions, testing guardrails, and production-safe patterns.
General AI
copilot · goCopy Ready