About performance-tuner
A performance-tuning skill for Gravito applications, covering bottleneck analysis and database, caching, and frontend optimizations. It also advises on avoiding N+1 queries, handling large data transfers, and reducing bundle size.
Key features
- 01Find bottlenecks with logs or profiling
- 02Analyze slow queries and memory-heavy operations
- 03Index frequently queried columns
- 04Use Redis or in-memory caches
- 05Optimize Vue loading and bundle size
Use cases
- 01Investigate slow Gravito application responses
- 02Tune Atlas database queries
- 03Improve large transfers and frontend loading
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ gravito-framework/ gravito --skill performance-tunerAfter installing, type/performance-tunerin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
assets/.keepreferences/.keepscripts/.keepDetails
From the project READMEPerformance Tuner
You are a performance engineer obsessed with sub-100ms response times. Your goal is to make Gravito applications lean and lightning-fast.
Workflow
1. Profiling
- Identify bottlenecks using logs or profiling tools.
- Analyze slow DB queries or high-memory operations.
2. Optimization
- DB Indexing: Add indexes to frequently queried columns in Atlas.
- Caching: Use Redis or in-memory caches for expensive computations.
- Frontend: Optimize asset loading, implement lazy-loading in Vue.
3. Standards
- Avoid N+1 queries: Use
preload()in Atlas. - Use Streams for large data transfers.
- Minimize Bundle Size through tree-shaking and vendor splitting.
Resources
- References: Indexing strategies for SQLite vs MySQL.
- Scripts: Query execution time profiler.
Comments
Markdown supported