performance-oracle

Detects and diagnoses performance bottlenecks in code, databases, frontend bundles, and background jobs.

12|2|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/jikig-ai/soleur --skill performance-oracle-jikig-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performance-oracle
Source: https://github.com/jikig-ai/soleur/tree/main/.openhands/skills/performance-oracle
Command: npx skills add https://github.com/jikig-ai/soleur --skill performance-oracle-jikig-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Performance Oracle identifies, diagnoses, and prioritizes performance bottlenecks across application code, database queries, memory usage, caching, and frontend delivery so teams can deliver responsive and scalable systems.

Core Features & Use Cases

  • Algorithmic analysis: Determines time and space complexity, flags quadratic or worse patterns, and projects behavior at 10x–1000x data volumes.
  • Database performance: Detects N+1 queries, missing indexes, and offers query and eager-loading recommendations with execution plan guidance.
  • Memory and caching: Finds leaks, unbounded structures, expensive computations to memoize, and recommends cache layers and invalidation strategies.
  • Network and frontend optimization: Reduces API round trips, suggests batching, trims payloads, and advises on bundle size and lazy loading.
  • Use Case: Optimize a slow API endpoint by analyzing code paths, database interactions, and recommending targeted code and schema changes with benchmarking guidance.

Quick Start

Ask the Performance Oracle to analyze the slow endpoint handler in your repository and return a prioritized list of performance issues with concrete code-level optimizations and benchmarking suggestions.

Frequently Asked Questions about performance-oracle

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find and fix performance bottlenecks in my application code?

To find performance bottlenecks, analyze source code, profiling data, and query patterns to detect algorithmic inefficiencies, N+1 queries, and memory leaks. You can fix them by applying algorithmic optimizations, adding database indexes, implementing caching layers, and reducing API round trips.

How do I diagnose slow database queries and missing indexes?

Diagnose slow database queries by examining execution plans and query patterns to detect N+1 queries and missing indexes. Fix them by adding indexes, using eager loading, and applying query optimizations to improve database performance and scalability.

What causes memory leaks and how do I optimize caching strategies?

Memory leaks and caching inefficiencies are caused by unbounded data structures and expensive repeated computations. Optimize caching by finding unbounded structures, memoizing expensive computations, and recommending appropriate cache layers with proper invalidation strategies.

How do I optimize frontend rendering and reduce API payload sizes?

Optimize frontend rendering by reducing API round trips, suggesting request batching, and trimming payload sizes. You can also improve frontend delivery by advising on bundle size reduction and implementing lazy loading for network and frontend optimization.

Can I analyze algorithmic complexity and project behavior at higher data volumes?

Yes, you can analyze algorithmic complexity by determining time and space complexity, flagging quadratic or worse patterns, and projecting behavior at 10x to 1000x data volumes. This helps identify scalability concerns before they impact application performance.

What is the best way to optimize a slow API endpoint handler?

The best way to optimize a slow API endpoint is to analyze code paths, database interactions, and memory usage to return a prioritized list of performance issues. Apply targeted code and schema changes with benchmarking guidance to improve responsiveness.