wp-performance

Diagnose WordPress backend performance bottlenecks using WP-CLI and server-timing data.

14|1|Updated Mar 30, 2026
One-click install
npx skills add https://github.com/wpgaurav/WordPress-skills --skill wp-performance-wpgaurav
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wp-performance
Source: https://github.com/wpgaurav/WordPress-skills/tree/main/skills/wordpress/wp-performance
Command: npx skills add https://github.com/wpgaurav/WordPress-skills --skill wp-performance-wpgaurav

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

WordPress sites often struggle with slow endpoints due to profiling gaps, autoloaded options, and inefficient queries. This skill provides a backend-focused approach to measure, diagnose, and improve performance using WP-CLI, REST headers, and server timing data.

Core Features & Use Cases

  • Profiling and measurement workflows for WP-CLI profile/doctor, Server-Timing, and Query Monitor (headless).
  • DB/query optimization, autoloaded options auditing, and object cache evaluation.
  • Use Case: When a site is slow at admin or REST endpoints, apply this skill to generate a baseline, identify bottlenecks, and propose fixes.

Quick Start

Run the perf_inspect.mjs script with a target WordPress path to generate a backend performance report.

Frequently Asked Questions about wp-performance

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

FAQPage Schema
How do I profile a slow WordPress admin or REST endpoint to find bottlenecks?

Profile WordPress backend bottlenecks using deterministic measurement with WP-CLI, REST headers, and server-timing data to target admin, REST, and WP-Cron endpoints, capture baselines, and identify slow queries.

What causes slow WordPress backend performance and how is it diagnosed?

Slow WordPress backend performance is caused by autoloaded options and inefficient queries, diagnosed by auditing databases, evaluating object cache, and measuring server-timing data across targeted endpoints.

Can I use WP-CLI to audit autoloaded options and evaluate object cache on my site?

Yes, WP-CLI profile and doctor commands audit autoloaded options, evaluate object cache efficiency, and generate a backend performance baseline for your WordPress site.

Does this WordPress profiling approach work safely on live production sites?

Yes, the profiling approach implements guardrails for safe testing on production sites, capturing baseline measurements and providing remediation guidance without disrupting live traffic.

What's the best way to start diagnosing WordPress backend performance issues?

Start diagnosing WordPress backend performance by running a targeted profiling script with your WordPress path to generate a baseline report measuring WP-CLI, REST headers, and server-timing data.

Why are my WordPress WP-Cron tasks running slowly and how can I measure them?

WP-Cron tasks run slowly due to inefficient queries and autoloaded options, measured by applying deterministic profiling to WP-Cron endpoints using WP-CLI and server-timing data to identify bottlenecks.