mcpField
P
performance-tuner

performance-tuner

github.com/gravito-frameworkDevelopment244 installsUpdated 27w ago
Repository

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

  1. 01Find bottlenecks with logs or profiling
  2. 02Analyze slow queries and memory-heavy operations
  3. 03Index frequently queried columns
  4. 04Use Redis or in-memory caches
  5. 05Optimize Vue loading and bundle size

Use cases

  1. 01Investigate slow Gravito application responses
  2. 02Tune Atlas database queries
  3. 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-tuner

After installing, type/performance-tunerin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

assets/
.keep
references/
.keep
scripts/
.keep

Details

From the project README

Performance 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
  1. DB Indexing: Add indexes to frequently queried columns in Atlas.
  2. Caching: Use Redis or in-memory caches for expensive computations.
  3. 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