# Performance

> Investigates slowness with measurement first. Use when the user reports performance problems or asks to optimize.

- Skill: `samraddhashrivastavatech/performance` (Agent Skill)
- Install (CLI): `npx skillmds@latest add samraddhashrivastavatech/performance`
- Raw SKILL.md: https://api.skillmd.com/api/skills/samraddhashrivastavatech/performance/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: SAMRADDHASHRIVASTAVATECH (https://skillmd.com/u/samraddhashrivastavatech)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/samraddhashrivastavatech/performance

---


# Performance

Measure before changing algorithms.

- Python: time the function; don't rewrite to Rust unprompted.
- SQL: `db_explain` on the Database MCP.
- Android: `android_profile` (meminfo/gfxinfo).
- Web: fewer assets; don't add a bundler for three files.
- Avoid N+1 I/O; batch when evidence shows it matters.

If it's fast enough for the stated load, stop.

