wp-performance

Profile WordPress backend performance using WP-CLI and Server-Timing data.

Updated Jan 29, 2026
One-click install
npx skills add https://github.com/HungNth/wordpress-notify-nth --skill wp-performance-hungnth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wp-performance
Source: https://github.com/HungNth/wordpress-notify-nth/tree/main/.opencode/skills/wp-performance
Command: npx skills add https://github.com/HungNth/wordpress-notify-nth --skill wp-performance-hungnth

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps identify and fix slow WordPress backends by providing a structured profiling and measurement approach. It guides you through backend profiling, diagnostics, and optimization using WP-CLI tools, server timing, and debugging utilities to improve response times, database efficiency, and overall site responsiveness.

Core Features & Use Cases

  • Backend profiling with WP-CLI (doctor/profile), Server-Timing, and Query Monitor via REST headers to locate bottlenecks.
  • Database and cache optimization guidance for autoloaded options, queries, cron tasks, and HTTP API calls, with practical optimization steps.
  • Use Case: When a WP admin page or REST endpoint is slow, run the perf_inspect workflow to generate a baseline and implement targeted fixes.

Quick Start

Run the perf_inspect.mjs script to generate a backend performance report against your WordPress installation.

Frequently Asked Questions about wp-performance

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

FAQPage Schema
How do I find what is causing slow WordPress admin pages?

To identify slow WordPress admin pages, run a backend profiling workflow using WP-CLI, Query Monitor, and Server-Timing data to isolate bottlenecks and report actionable performance metrics for optimization.

What is the best way to profile WordPress REST endpoints for performance issues?

Profiling WordPress REST endpoints is best achieved by leveraging REST-based monitoring alongside WP-CLI tools and Query Monitor headers to measure response times and locate specific processing bottlenecks.

Can I use WP-CLI to diagnose slow WP-Cron tasks?

Yes, you can use WP-CLI to diagnose slow WP-Cron tasks by running profiling commands that measure execution time and identify database or HTTP API delays causing the backend bottleneck.

How do I optimize WordPress autoloaded options and database queries?

Optimizing WordPress autoloaded options and database queries involves profiling the backend to locate heavy queries, then applying targeted cache optimization and database cleanup steps guided by diagnostic metrics.

Does this backend profiling approach require Server-Timing data to work?

Server-Timing data is optional for this backend profiling approach, which primarily leverages WP-CLI tools and Query Monitor headers to generate baseline performance reports and guide improvements.