{ }
Resource profile / WordPress Performance Investigation
About this skill

Workflow & requirements

BB Skills installed path and bounded native evidence (2026-10-04)

Set BB_SKILL_DIR to the absolute directory containing this installed SKILL.md and supply the actual WordPress root via --path=/absolute/root; on PowerShell use $env:BB_SKILL_DIR in the command. The helper and every reference are bundled. Review WP-CLI on PATH and the target installation before running: commands bootstrap WordPress and may load plugin code. Use an authorized disposable or staging target and an external time limit; the helper has no built-in subprocess timeout.

BB Skills executed native diagnostic helpers against a fresh WordPress 7.1.2 / WP-CLI 2.12.0 installation with synthetic options and file markers. Results, environment versions, image identities and exact source hashes are in examples/native-cli-evidence.json. The example runner and setup are included; its WP-CLI PHAR and Node executable must be obtained and verified separately. This checks selected helper behavior, not an AI client's execution of the complete skill. runtime_tested remains false for that full-skill claim. No performance benchmark, real migration, persistent cache, multisite operation or production site was tested.

Read JSON readiness fields rather than trusting process exit 0: a missing WP-CLI or invalid target still produces a report. An unavailable doctor/profile subcommand is not a clean diagnostic result. File-presence signals do not establish plugin activation, a functioning cache or a speedup. Use the original sources and authoring notices retained under upstream-original and source-context to distinguish upstream instructions from BB Skills additions. All additions follow GPL-2.0-or-later.

This BB Skills revision also changes the diagnostic helper: count the values actually returned by wp_load_alloptions(), and resolve configured content and plugin directories through WP_CONTENT_DIR / WP_PLUGIN_DIR. In our pinned environment, the upstream WP-CLI autoload filter omitted auto/auto-on values and default filesystem assumptions missed custom-directory files. The adapted helper was run against default/custom directories and missing dependency/target cases. Original helper bytes remain under upstream-original/scripts/perf_inspect.mjs. The byte count describes loaded option values; it is not database allocation, PHP memory usage, query time or page speed. WordPress filters or a persistent cache can affect loaded values in other installations.

WP Performance (backend-only)

When to use

Use this skill when:

  • a WordPress site/page/endpoint is slow (frontend TTFB, admin, REST, WP-Cron)
  • you need a profiling plan and tooling recommendations (WP-CLI profile/doctor, Query Monitor, Xdebug/XHProf, APMs)
  • you’re optimizing DB queries, autoloaded options, object caching, cron tasks, or remote HTTP calls

This skill assumes the agent cannot use a browser UI. Prefer WP-CLI, logs, and HTTP requests.

Inputs required

  • Environment and safety: dev/staging/prod, any restrictions (no writes, no plugin installs).
  • How to target the install:
  • WP root --path=<path>
  • (multisite/site targeting) --url=<url>
  • The performance symptom and scope:
  • which URL/REST route/admin screen
  • when it happens (always vs sporadic; logged-in vs logged-out)

Procedure

0) Guardrails: measure first, avoid risky ops

  1. Confirm whether you may run write operations (plugin installs, config changes, cache flush).
  2. Pick a reproducible target (URL or REST route) and capture a baseline:
  3. TTFB/time with curl if possible
  4. WP-CLI profiling if available

Read: - references/measurement.md

1) Generate a backend-only performance report (deterministic)

Run:

  • node "$BB_SKILL_DIR/scripts/perf_inspect.mjs" --path=<path> [--url=<url>]

This detects:

  • WP-CLI availability and core version
  • whether wp doctor / wp profile are available
  • autoloaded options size (if possible)
  • object-cache drop-in presence

2) Fast wins: run diagnostics before deep profiling

If you have WP-CLI access, prefer:

  • wp doctor check

It catches common production foot-guns (autoload bloat, SAVEQUERIES/WP_DEBUG, plugin counts, updates).

Read: - references/wp-cli-doctor.md

3) Deep profiling (no browser required)

Preferred order:

  1. wp profile stage to see where time goes (bootstrap/main_query/template).
  2. wp profile hook (optionally with --url=) to find slow hooks/callbacks.
  3. wp profile eval for targeted code paths.

Read: - references/wp-cli-profile.md

4) Query Monitor (backend-only usage)

Query Monitor is normally UI-driven, but it can be used headlessly via REST API response headers and _envelope responses:

  • Authenticate (nonce or Application Password).
  • Request REST responses and inspect headers (x-qm-*) and/or the qm property when using ?_envelope.

Read: - references/query-monitor-headless.md

5) Fix by category (choose the dominant bottleneck)

Use the profile output to pick one primary bottleneck category:

  • DB queries → reduce query count, fix N+1 patterns, improve indexes, avoid expensive meta queries.
  • references/database.md
  • Autoloaded options → identify the biggest autoloaded options and stop autoloading large blobs.
  • references/autoload-options.md
  • Object cache misses → introduce caching or fix cache key/group usage; add persistent object cache where appropriate.
  • references/object-cache.md
  • Remote HTTP calls → add timeouts, caching, batching; avoid calling remote APIs on every request.
  • references/http-api.md
  • Cron → reduce due-now spikes, de-duplicate events, move heavy tasks out of request paths.
  • references/cron.md

6) Verify (repeat the same measurement)

  • Re-run the same wp profile / wp doctor / REST request.
  • Confirm the performance delta and that behavior is unchanged.
  • If the fix is risky, ship behind a feature flag or staged rollout when possible.

WordPress 6.9 performance improvements

Be aware of these 6.9 changes when profiling:

On-demand CSS for classic themes: - Classic themes now get on-demand CSS loading (previously only block themes had this). - Reduces CSS payload by 30-65% by only loading styles for blocks actually used on the page. - If you're profiling a classic theme, this should already be helping.

Block themes with no render-blocking resources: - Block themes that don't define custom stylesheets (like Twenty Twenty-Three/Four) can now load with zero render-blocking CSS. - Styles come from global styles (theme.json) and separate block styles, all inlined. - This significantly improves LCP (Largest Contentful Paint).

Inline CSS limit increased: - The threshold for inlining small stylesheets has been raised, reducing render-blocking resources.

Reference: https://make.wordpress.org/core/2025/11/18/wordpress-6-9-frontend-performance-field-guide/

Verification

  • Baseline vs after numbers are captured (same environment, same URL/route).
  • wp doctor check is clean (or improved) when applicable.
  • No new PHP errors or warnings in logs.
  • No cache flush is required for correctness (cache flush should be last resort).

Failure modes / debugging

  • “No change” after code changes:
  • you measured a different URL/site (--url mismatch), caches masked results, or opcode cache is stale
  • Profiling data is noisy:
  • eliminate background tasks, test with warmed caches, run multiple samples
  • SAVEQUERIES/Query Monitor causes overhead:
  • don’t run in production unless explicitly approved

Escalation

  • If this is production and you don’t have explicit approval, do not:
  • install plugins, enable SAVEQUERIES, run load tests, or flush caches during traffic
  • If you need system-level profiling (APM, PHP profiler extensions), coordinate with ops/hosting.
PACKAGE TRANSPARENCY

Inspect before installing

Source: WordPress · GPL-2.0-or-later · SHA-256 shown alongside the download.

27 files46487 ZIP bytes6 script/code files

License file included. A license and checksum are not a security certification. Review package instructions and scripts before running them.

View files and uncompressed sizes
Machine-readable installation guide →
CATALOG REVIEW NOTES

Know what you need before installing

Source and packaging checks recorded on 2026-10-04. These notes are not safety certification or measured task performance.

Requirements

Node.js and a reviewed WP-CLI on PATH, PHP, and an authorized WordPress installation with explicit --path/--url targeting. Upstream targets WordPress 7.0+ / PHP 7.4.0+. All skill references and the helper are included; reproduction requires separately verified official runtime binaries.

Costs, access & practical limits

Free source package. Native helper checks used only disposable synthetic data; no AI client, full skill, measured speedup, migration or production operation was tested. Helpers can exit 0 when not ready and have no built-in subprocess timeout. File presence does not establish activation or working cache. CLI operations can write/delete data and need appropriate targeting/backups. Optional profiler purchases are not required; no paid API or external account credential was used.

View the recorded checks
  • Every included upstream original matches pinned Git blob and SHA-256
  • All original references included and installed helper path resolves
  • GPL grant, full license text and explicit adaptation attribution preserved
  • Actual native original/adapted helper observations recorded with source hashes
  • No AI-client execution, performance benchmark or production operation claimed

Upstream commit: 34da134e184ef93d6fb8c074fed309e06b964f34

Runtime status: not tested by this catalog. Configure your client and test the skill in your own environment.

LICENSE & ATTRIBUTION

GPL license & upstream grant

This source package retains the upstream copyright and GPLv2-or-later grant alongside the complete GPLv2 text. Read both before adapting or redistributing it. Keep the notices and supply corresponding source as required by the applicable GPL terms.

GPL-2.0-or-later ↗

Original upstream GPLv2-or-later grant covering instructions, references, helper and source context

Attribution: Copyright (C) 2026 WordPress Contributors

Changes: Primary instructions adapted for installed helper path and scope notes. Performance helper adapted for loaded autoload values and configured directories; original retained. BB Skills synthetic fixture and evidence added. Other upstream files unchanged.

Included notice: wp-performance/LICENSE.upstream.txt

Declared source ↗

GPL-2.0-or-later ↗

Complete GPLv2 text accompanying upstream grant and same-license BB Skills additions

Attribution: Free Software Foundation, Inc.; BB Skills additions under same GPLv2-or-later terms

Changes: Full license text unchanged; additions identified in SOURCE.txt

Included notice: wp-performance/GPL-2.0-or-later.txt

Declared source ↗
SCENARIOS

Inputs, criteria and recorded outcomes

Records are supplied by the site administrator and bound to a specific package. They are not third-party safety certification. This page does not execute skills.

Native performance inspector autoload and configured-directory checks

Reported passed · v34da134e184e.bb2

View input and acceptance criteria

Input

Run the exact packaged native helper in a fresh disposable WordPress installation with synthetic options and file markers; review dependency/target failures, recorded output and stated subset scope. No production target or AI client.

Acceptance criteria

Performance inspector: original/adapted dependency/target reports, independently checked autoload bytes, default/custom-directory presence signals and explicit marker limitations. No speed benchmark, functioning persistent cache or AI-client workflow tested.

Recorded outcome

Performance inspector: original/adapted dependency/target reports, independently checked autoload bytes, default/custom-directory presence signals and explicit marker limitations. No speed benchmark, functioning persistent cache or AI-client workflow tested.

Shared fixture: 30 observations across both native helpers; this record covers only the stated subset.

{
  "format": 1,
  "executed_at": "2026-10-04T10:51:10.664995+00:00",
  "environment": {
    "wordpress": "7.1.2",
    "php": "8.3.35",
    "database": "11.4.13-MariaDB-ubu2404",
    "seeded_options": [
      {
        "name": "bb_probe_yes",
        "autoload": "yes",
        "bytes": 10
      },
      {
        "name": "bb_probe_on",
        "autoload": "on",
        "bytes": 20
      },
      {
        "name": "bb_probe_auto_on",
        "autoload": "auto-on",
        "bytes": 30
      },
      {
        "name": "bb_probe_auto",
        "autoload": "auto",
        "bytes": 40
      },
      {
        "name": "bb_probe_no",
        "autoload": "no",
        "bytes": 50
      },
      {
        "name": "bb_probe_off",
        "autoload": "off",
        "bytes": 60
      },
      {
        "name": "bb_probe_auto_off",
        "autoload": "auto-off",
        "bytes": 70
      }
    ]
  },
  "node": "v22.23.3",
  "wp_cli": {
    "version": "2.12.0",
    "source": "https://github.com/wp-cli/wp-cli/releases/download/v2.12.0/wp-cli-2.12.0.phar",
    "sha512": "be928f6b8ca1e8dfb9d2f4b75a13aa4aee0896f8a9a0a1c45cd5d2c98605e6172e6d014dda2e27f88c98befc16c040cbb2bd1bfa121510ea5cdf5f6a30fe8832",
    "sha256": "ce34ddd838f7351d6759068d09793f26755463b4a4610a5a5c0a97b68220d85c",
    "bytes": 7142777,
    "checksum_source": "https://github.com/docker-library/wordpress/blob/b962e97ba0d6cfd8784a521fb9d05fc89aa180a9/cli/php8.3/alpine/Dockerfile"
  },
  "images": {
    "wordpress": {
      "tag": "wordpress:7.1.2-php8.3-apache",
      "id": "sha256:4abf7a450ee477dde967584f8174d7e03221d224c4971a0c38d84e7254426e64",
      "digests": [
        "wordpress@sha256:4abf7a450ee477dde967584f8174d7e03221d224c4971a0c38d84e7254426e64"
      ]
    },
    "database": {
      "tag": "mariadb:11.4",
      "id": "sha256:1292844148b311e4ed4300022a996d39083f415a963e970cf47cad1b3b18e3a6",
      "digests": [
        "mariadb@sha256:1292844148b311e4ed4300022a996d39083f415a963e970cf47cad1b3b18e3a6"
      ]
    },
    "node": {
      "tag": "node:22-trixie-slim",
      "id": "sha256:b26b04c123d9ff8ab646ceb18b9d75a1173acf64b9a401094b906d27b29338d4",
      "digests": [
        "node@sha256:b26b04c123d9ff8ab646ceb18b9d75a1173acf64b9a401094b906d27b29338d4"
      ]
    }
  },
  "observations": 30,
  "cases": [
    {
      "name": "wp-cli-version",
      "observed": "WP-CLI 2.12.0",
      "expected": "WP-CLI 2.12.0",
      "status": "passed"
    },
    {
      "name": "perf-missing-cli",
      "observed": false,
      "expected": false,
      "status": "passed"
    },
    {
      "name": "perf-missing-cli-process-exit",
      "observed": 0,
      "expected": 0,
      "status": "passed"
    },
    {
      "name": "ops-missing-cli",
      "observed": false,
      "expected": false,
      "status": "passed"
    },
    {
      "name": "ops-missing-cli-process-exit",
      "observed": 0,
      "expected": 0,
      "status": "passed"
    },
    {
      "name": "perf-wrong-path",
      "observed": false,
      "expected": false,
      "status": "passed"
    },
    {
      "name": "ops-wrong-path",
      "observed": false,
      "expected": false,
      "status": "passed"
    },
    {
      "name": "ops-core-version",
      "observed": "7.1.2",
      "expected": "7.1.2",
      "status": "passed"
    },
    {
      "name": "ops-single-site",
      "observed": false,
      "expected": false,
      "status": "passed"
    },
    {
      "name": "ops-siteurl",
      "observed": "http://bb-v43-cli-wp",
      "expected": "http://bb-v43-cli-wp",
      "status": "passed"
    },
    {
      "name": "perf-installed",
      "observed": true,
      "expected": true,
      "status": "passed"
    },
    {
      "name": "perf-core-version",
      "observed": "7.1.2",
      "expected": "7.1.2",
      "status": "passed"
    },
    {
      "name": "core-active-autoload-values",
      "observed": [
        "yes",
        "on",
        "auto-on",
        "auto"
      ],
      "expected": [
        "yes",
        "on",
        "auto-on",
        "auto"
      ],
      "status": "passed"
    },
    {
      "name": "synthetic-active-autoload-bytes",
      "observed": 100,
      "expected": 100,
      "status": "passed"
    },
    {
      "name": "upstream-cli-seeded-bytes-excludes-auto-values",
      "observed": 30,
      "expected": 30,
      "status": "passed"
    },
    {
      "name": "upstream-helper-underreports-active-bytes",
      "observed": 1578,
      "expected": 1578,
      "status": "passed"
    },
    {
      "name": "doctor-uninstalled",
      "observed": false,
      "expected": false,
      "status": "passed"
    },
    {
      "name": "profile-uninstalled",
      "observed": false,
      "expected": false,
      "status": "passed"
    },
    {
      "name": "file-presence-signals",
      "observed": [
        true,
        true,
        true,
        true
      ],
      "expected": [
        true,
        true,
        true,
        true
      ],
      "status": "passed"
    },
    {
      "name": "marker-plugins-not-activated",
      "observed": [],
      "expected": [],
      "status": "passed"
    },
    {
      "name": "actual-custom-content-directory",
      "observed": "/tmp/custom-wp-content",
      "expected": "/tmp/custom-wp-content",
      "status": "passed"
    },
    {
      "name": "actual-custom-marker-files",
      "observed": [
        true,
        true
      ],
      "expected": [
        true,
        true
      ],
      "status": "passed"
    },
    {
      "name": "upstream-custom-directory-false-negatives",
      "observed": [
        false,
        false,
        false,
        false
      ],
      "expected": [
        false,
        false,
        false,
        false
      ],
      "status": "passed"
    },
    {
      "name": "adapted-helper-autoload-equals-core-sql",
      "observed": 30136,
      "expected": 30136,
      "status": "passed"
    },
    {
      "name": "adapted-helper-resolves-custom-directory",
      "observed": "/tmp/custom-wp-content",
      "expected": "/tmp/custom-wp-content",
      "status": "passed"
    },
    {
      "name": "adapted-custom-directory-presence-signals",
      "observed": [
        true,
        true,
        true,
        true
      ],
      "expected": [
        true,
        true,
        true,
        true
      ],
      "status": "passed"
    },
    {
      "name": "adapted-default-directory-resolved",
      "observed": "/var/www/html/wp-content",
      "expected": "/var/www/html/wp-content",
      "status": "passed"
    },
    {
      "name": "adapted-default-no-marker-signals",
      "observed": [
        false,
        false,
        false,
        false
      ],
      "expected": [
        false,
        false,
        false,
        false
      ],
      "status": "passed"
    },
    {
      "name": "adapted-missing-cli-fails-readiness",
      "observed": false,
      "expected": false,
      "status": "passed"
    },
    {
      "name": "adapted-bad-path-fails-readiness",
      "observed": false,
      "expected": false,
      "status": "passed"
    }
  ],
  "reports": {
    "perf-missing-cli": {
      "process_exit": 0,
      "report": {
        "tool": {
          "name": "perf_inspect",
          "version": "0.1.0"
        },
        "target": {
          "path": "/var/www/html",
          "url": null
        },
        "wpCli": {
          "available": false,
          "info": {
            "ok": false,
            "status": null,
            "error": {
              "message": "spawnSync wp ENOENT",
              "code": "ENOENT"
            },
            "stdout": "",
            "stderr": "",
            "args": [
              "--allow-root",
              "--info"
            ]
          }
        },
        "wp": {
          "isInstalled": null,
          "coreVersion": null
        },
        "commands": {
          "doctor": {
            "available": false
          },
          "profile": {
            "available": false
          }
        },
        "perfSignals": {
          "autoloadTotalBytes": null,
          "hasObjectCacheDropin": null,
          "hasAdvancedCacheDropin": null,
          "hasQueryMonitorPlugin": null,
          "hasPerformanceLabPlugin": null
        },
        "notes": [
          "WP-CLI not available on PATH. Run in the intended environment (container/ssh) or install WP-CLI."
        ],
        "_runs": []
      }
    },
    "ops-missing-cli": {
      "process_exit": 0,
      "report": {
        "tool": {
          "name": "wpcli_inspect",
          "version": "0.1.0"
        },
        "wpCli": {
          "available": false,
          "info": {
            "ok": false,
            "status": null,
            "error": {
              "message": "spawnSync wp ENOENT",
              "code": "ENOENT"
            },
            "stdout": "",
            "stderr": "",
            "args": [
              "--allow-root",
              "--info"
            ]
          }
        },
        "wordpress": {
          "path": "/var/www/html",
          "url": null,
          "isInstalled": null,
          "coreVersion": null,
          "isMultisite": null,
          "siteurl": null,
          "home": null
        },
        "notes": [
          "WP-CLI not available on PATH. Install WP-CLI or run inside the intended container/environment."
        ]
      }
    },
    "perf-bad-path": {
      "process_exit": 0,
      "report": {
        "tool": {
          "name": "perf_inspect",
          "version": "0.1.0"
        },
        "target": {
          "path": "/not-a-wordpress-install",
          "url": null
        },
        "wpCli": {
          "available": true,
          "info": {
            "ok": true,
            "status": 0,
            "error": null,
            "stdout": "OS:\tLinux 6.12.111+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.111-1 (2026-09-28) x86_64\nShell:\t\nPHP binary:\t/usr/local/bin/php\nPHP version:\t8.3.35\nphp.ini used:\t\nMySQL binary:\t\nMySQL version:\t\nSQL modes:\t\nWP-CLI root dir:\tphar://wp-cli.phar/vendor/wp-cli/wp-cli\nWP-CLI vendor dir:\tphar://wp-cli.phar/vendor\nWP_CLI phar path:\tphar:///fixture/wp-cli.phar\nWP-CLI packages dir:\t\nWP-CLI cache dir:\t/root/.wp-cli/cache\nWP-CLI global config:\t\nWP-CLI project config:\t\nWP-CLI version:\t2.12.0",
            "stderr": "",
            "args": [
              "--allow-root",
              "--info"
            ]
          }
        },
        "wp": {
          "isInstalled": false,
          "coreVersion": null
        },
        "commands": {
          "doctor": {
            "available": false
          },
          "profile": {
            "available": false
          }
        },
        "perfSignals": {
          "autoloadTotalBytes": null,
          "hasObjectCacheDropin": null,
          "hasAdvancedCacheDropin": null,
          "hasQueryMonitorPlugin": null,
          "hasPerformanceLabPlugin": null
        },
        "notes": [
          "WordPress not detected at the given --path/--url (check wp-config.php and targeting)."
        ],
        "_runs": [
          {
            "cmd": "--allow-root --path=/not-a-wordpress-install core is-installed",
            "ok": false,
            "status": 1,
            "error": null
          }
        ]
      }
    },
    "ops-bad-path": {
      "process_exit": 0,
      "report": {
        "tool": {
          "name": "wpcli_inspect",
          "version": "0.1.0"
        },
        "wpCli": {
          "available": true,
          "info": {
            "ok": true,
            "status": 0,
            "error": null,
            "stdout": "OS:\tLinux 6.12.111+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.111-1 (2026-09-28) x86_64\nShell:\t\nPHP binary:\t/usr/local/bin/php\nPHP version:\t8.3.35\nphp.ini used:\t\nMySQL binary:\t\nMySQL version:\t\nSQL modes:\t\nWP-CLI root dir:\tphar://wp-cli.phar/vendor/wp-cli/wp-cli\nWP-CLI vendor dir:\tphar://wp-cli.phar/vendor\nWP_CLI phar path:\tphar:///fixture/wp-cli.phar\nWP-CLI packages dir:\t\nWP-CLI cache dir:\t/root/.wp-cli/cache\nWP-CLI global config:\t\nWP-CLI project config:\t\nWP-CLI version:\t2.12.0",
            "stderr": "",
            "args": [
              "--allow-root",
              "--info"
            ]
          }
        },
        "wordpress": {
          "path": "/not-a-wordpress-install",
          "url": null,
          "isInstalled": false,
          "coreVersion": null,
          "isMultisite": null,
          "siteurl": null,
          "home": null
        },
        "notes": [
          "WordPress not detected at the given path/url. Check --path/--url (multisite) and that wp-config.php is present."
        ]
      }
    },
    "ops-valid": {
      "process_exit": 0,
      "report": {
        "tool": {
          "name": "wpcli_inspect",
          "version": "0.1.0"
        },
        "wpCli": {
          "available": true,
          "info": {
            "ok": true,
            "status": 0,
            "error": null,
            "stdout": "OS:\tLinux 6.12.111+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.111-1 (2026-09-28) x86_64\nShell:\t\nPHP binary:\t/usr/local/bin/php\nPHP version:\t8.3.35\nphp.ini used:\t\nMySQL binary:\t\nMySQL version:\t\nSQL modes:\t\nWP-CLI root dir:\tphar://wp-cli.phar/vendor/wp-cli/wp-cli\nWP-CLI vendor dir:\tphar://wp-cli.phar/vendor\nWP_CLI phar path:\tphar:///fixture/wp-cli.phar\nWP-CLI packages dir:\t\nWP-CLI cache dir:\t/root/.wp-cli/cache\nWP-CLI global config:\t\nWP-CLI project config:\t\nWP-CLI version:\t2.12.0",
            "stderr": "",
            "args": [
              "--allow-root",
              "--info"
            ]
          }
        },
        "wordpress": {
          "path": "/var/www/html",
          "url": null,
          "isInstalled": true,
          "coreVersion": "7.1.2",
          "isMultisite": false,
          "siteurl": "http://bb-v43-cli-wp",
          "home": "http://bb-v43-cli-wp"
        },
        "notes": []
      }
    },
    "perf-valid": {
      "process_exit": 0,
      "report": {
        "tool": {
          "name": "perf_inspect",
          "version": "0.1.0"
        },
        "target": {
          "path": "/var/www/html",
          "url": null
        },
        "wpCli": {
          "available": true,
          "info": {
            "ok": true,
            "status": 0,
            "error": null,
            "stdout": "OS:\tLinux 6.12.111+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.111-1 (2026-09-28) x86_64\nShell:\t\nPHP binary:\t/usr/local/bin/php\nPHP version:\t8.3.35\nphp.ini used:\t\nMySQL binary:\t\nMySQL version:\t\nSQL modes:\t\nWP-CLI root dir:\tphar://wp-cli.phar/vendor/wp-cli/wp-cli\nWP-CLI vendor dir:\tphar://wp-cli.phar/vendor\nWP_CLI phar path:\tphar:///fixture/wp-cli.phar\nWP-CLI packages dir:\t\nWP-CLI cache dir:\t/root/.wp-cli/cache\nWP-CLI global config:\t\nWP-CLI project config:\t\nWP-CLI version:\t2.12.0",
            "stderr": "",
            "args": [
              "--allow-root",
              "--info"
            ]
          }
        },
        "wp": {
          "isInstalled": true,
          "coreVersion": "7.1.2"
        },
        "commands": {
          "doctor": {
            "available": false
          },
          "profile": {
            "available": false
          }
        },
        "perfSignals": {
          "autoloadTotalBytes": 28558,
          "hasObjectCacheDropin": false,
          "hasAdvancedCacheDropin": false,
          "hasQueryMonitorPlugin": false,
          "hasPerformanceLabPlugin": false
        },
        "notes": [
          "Tip: install WP-CLI doctor: `wp package install wp-cli/doctor-command`.",
          "Tip: install WP-CLI profile: `wp package install wp-cli/profile-command`."
        ],
        "_runs": [
          {
            "cmd": "--allow-root --path=/var/www/html core is-installed",
            "ok": true,
            "status": 0,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html core version",
            "ok": true,
            "status": 0,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html doctor --help",
            "ok": false,
            "status": 1,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html profile --help",
            "ok": false,
            "status": 1,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html option list --autoload=on --format=total_bytes",
            "ok": true,
            "status": 0,
            "error": null
          }
        ]
      }
    },
    "perf-presence": {
      "process_exit": 0,
      "report": {
        "tool": {
          "name": "perf_inspect",
          "version": "0.1.0"
        },
        "target": {
          "path": "/var/www/html",
          "url": null
        },
        "wpCli": {
          "available": true,
          "info": {
            "ok": true,
            "status": 0,
            "error": null,
            "stdout": "OS:\tLinux 6.12.111+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.111-1 (2026-09-28) x86_64\nShell:\t\nPHP binary:\t/usr/local/bin/php\nPHP version:\t8.3.35\nphp.ini used:\t\nMySQL binary:\t\nMySQL version:\t\nSQL modes:\t\nWP-CLI root dir:\tphar://wp-cli.phar/vendor/wp-cli/wp-cli\nWP-CLI vendor dir:\tphar://wp-cli.phar/vendor\nWP_CLI phar path:\tphar:///fixture/wp-cli.phar\nWP-CLI packages dir:\t\nWP-CLI cache dir:\t/root/.wp-cli/cache\nWP-CLI global config:\t\nWP-CLI project config:\t\nWP-CLI version:\t2.12.0",
            "stderr": "",
            "args": [
              "--allow-root",
              "--info"
            ]
          }
        },
        "wp": {
          "isInstalled": true,
          "coreVersion": "7.1.2"
        },
        "commands": {
          "doctor": {
            "available": false
          },
          "profile": {
            "available": false
          }
        },
        "perfSignals": {
          "autoloadTotalBytes": 28558,
          "hasObjectCacheDropin": true,
          "hasAdvancedCacheDropin": true,
          "hasQueryMonitorPlugin": true,
          "hasPerformanceLabPlugin": true
        },
        "notes": [
          "Tip: install WP-CLI doctor: `wp package install wp-cli/doctor-command`.",
          "Tip: install WP-CLI profile: `wp package install wp-cli/profile-command`."
        ],
        "_runs": [
          {
            "cmd": "--allow-root --path=/var/www/html core is-installed",
            "ok": true,
            "status": 0,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html core version",
            "ok": true,
            "status": 0,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html doctor --help",
            "ok": false,
            "status": 1,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html profile --help",
            "ok": false,
            "status": 1,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html option list --autoload=on --format=total_bytes",
            "ok": true,
            "status": 0,
            "error": null
          }
        ]
      }
    },
    "perf-custom-content": {
      "process_exit": 0,
      "report": {
        "tool": {
          "name": "perf_inspect",
          "version": "0.1.0"
        },
        "target": {
          "path": "/var/www/html",
          "url": null
        },
        "wpCli": {
          "available": true,
          "info": {
            "ok": true,
            "status": 0,
            "error": null,
            "stdout": "OS:\tLinux 6.12.111+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.111-1 (2026-09-28) x86_64\nShell:\t\nPHP binary:\t/usr/local/bin/php\nPHP version:\t8.3.35\nphp.ini used:\t\nMySQL binary:\t\nMySQL version:\t\nSQL modes:\t\nWP-CLI root dir:\tphar://wp-cli.phar/vendor/wp-cli/wp-cli\nWP-CLI vendor dir:\tphar://wp-cli.phar/vendor\nWP_CLI phar path:\tphar:///fixture/wp-cli.phar\nWP-CLI packages dir:\t\nWP-CLI cache dir:\t/root/.wp-cli/cache\nWP-CLI global config:\t\nWP-CLI project config:\t\nWP-CLI version:\t2.12.0",
            "stderr": "",
            "args": [
              "--allow-root",
              "--info"
            ]
          }
        },
        "wp": {
          "isInstalled": true,
          "coreVersion": "7.1.2"
        },
        "commands": {
          "doctor": {
            "available": false
          },
          "profile": {
            "available": false
          }
        },
        "perfSignals": {
          "autoloadTotalBytes": 28558,
          "hasObjectCacheDropin": false,
          "hasAdvancedCacheDropin": false,
          "hasQueryMonitorPlugin": false,
          "hasPerformanceLabPlugin": false
        },
        "notes": [
          "Tip: install WP-CLI doctor: `wp package install wp-cli/doctor-command`.",
          "Tip: install WP-CLI profile: `wp package install wp-cli/profile-command`."
        ],
        "_runs": [
          {
            "cmd": "--allow-root --path=/var/www/html core is-installed",
            "ok": true,
            "status": 0,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html core version",
            "ok": true,
            "status": 0,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html doctor --help",
            "ok": false,
            "status": 1,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html profile --help",
            "ok": false,
            "status": 1,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html option list --autoload=on --format=total_bytes",
            "ok": true,
            "status": 0,
            "error": null
          }
        ]
      }
    },
    "perf-adapted-custom-content": {
      "process_exit": 0,
      "report": {
        "tool": {
          "name": "perf_inspect",
          "version": "0.1.0"
        },
        "target": {
          "path": "/var/www/html",
          "url": null
        },
        "wpCli": {
          "available": true,
          "info": {
            "ok": true,
            "status": 0,
            "error": null,
            "stdout": "OS:\tLinux 6.12.111+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.111-1 (2026-09-28) x86_64\nShell:\t\nPHP binary:\t/usr/local/bin/php\nPHP version:\t8.3.35\nphp.ini used:\t\nMySQL binary:\t\nMySQL version:\t\nSQL modes:\t\nWP-CLI root dir:\tphar://wp-cli.phar/vendor/wp-cli/wp-cli\nWP-CLI vendor dir:\tphar://wp-cli.phar/vendor\nWP_CLI phar path:\tphar:///fixture/wp-cli.phar\nWP-CLI packages dir:\t\nWP-CLI cache dir:\t/root/.wp-cli/cache\nWP-CLI global config:\t\nWP-CLI project config:\t\nWP-CLI version:\t2.12.0",
            "stderr": "",
            "args": [
              "--allow-root",
              "--info"
            ]
          }
        },
        "wp": {
          "isInstalled": true,
          "coreVersion": "7.1.2",
          "contentDirectory": "/tmp/custom-wp-content",
          "pluginDirectory": "/tmp/custom-wp-content/plugins"
        },
        "commands": {
          "doctor": {
            "available": false
          },
          "profile": {
            "available": false
          }
        },
        "perfSignals": {
          "autoloadTotalBytes": 30136,
          "hasObjectCacheDropin": true,
          "hasAdvancedCacheDropin": true,
          "hasQueryMonitorPlugin": true,
          "hasPerformanceLabPlugin": true
        },
        "notes": [
          "Tip: install WP-CLI doctor: `wp package install wp-cli/doctor-command`.",
          "Tip: install WP-CLI profile: `wp package install wp-cli/profile-command`."
        ],
        "_runs": [
          {
            "cmd": "--allow-root --path=/var/www/html core is-installed",
            "ok": true,
            "status": 0,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html core version",
            "ok": true,
            "status": 0,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html doctor --help",
            "ok": false,
            "status": 1,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html profile --help",
            "ok": false,
            "status": 1,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html eval echo array_sum(array_map('strlen', wp_load_alloptions()));",
            "ok": true,
            "status": 0,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html eval echo json_encode(['content'=>WP_CONTENT_DIR,'plugins'=>WP_PLUGIN_DIR]);",
            "ok": true,
            "status": 0,
            "error": null
          }
        ]
      }
    },
    "perf-adapted-default-content": {
      "process_exit": 0,
      "report": {
        "tool": {
          "name": "perf_inspect",
          "version": "0.1.0"
        },
        "target": {
          "path": "/var/www/html",
          "url": null
        },
        "wpCli": {
          "available": true,
          "info": {
            "ok": true,
            "status": 0,
            "error": null,
            "stdout": "OS:\tLinux 6.12.111+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.111-1 (2026-09-28) x86_64\nShell:\t\nPHP binary:\t/usr/local/bin/php\nPHP version:\t8.3.35\nphp.ini used:\t\nMySQL binary:\t\nMySQL version:\t\nSQL modes:\t\nWP-CLI root dir:\tphar://wp-cli.phar/vendor/wp-cli/wp-cli\nWP-CLI vendor dir:\tphar://wp-cli.phar/vendor\nWP_CLI phar path:\tphar:///fixture/wp-cli.phar\nWP-CLI packages dir:\t\nWP-CLI cache dir:\t/root/.wp-cli/cache\nWP-CLI global config:\t\nWP-CLI project config:\t\nWP-CLI version:\t2.12.0",
            "stderr": "",
            "args": [
              "--allow-root",
              "--info"
            ]
          }
        },
        "wp": {
          "isInstalled": true,
          "coreVersion": "7.1.2",
          "contentDirectory": "/var/www/html/wp-content",
          "pluginDirectory": "/var/www/html/wp-content/plugins"
        },
        "commands": {
          "doctor": {
            "available": false
          },
          "profile": {
            "available": false
          }
        },
        "perfSignals": {
          "autoloadTotalBytes": 30136,
          "hasObjectCacheDropin": false,
          "hasAdvancedCacheDropin": false,
          "hasQueryMonitorPlugin": false,
          "hasPerformanceLabPlugin": false
        },
        "notes": [
          "Tip: install WP-CLI doctor: `wp package install wp-cli/doctor-command`.",
          "Tip: install WP-CLI profile: `wp package install wp-cli/profile-command`."
        ],
        "_runs": [
          {
            "cmd": "--allow-root --path=/var/www/html core is-installed",
            "ok": true,
            "status": 0,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html core version",
            "ok": true,
            "status": 0,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html doctor --help",
            "ok": false,
            "status": 1,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html profile --help",
            "ok": false,
            "status": 1,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html eval echo array_sum(array_map('strlen', wp_load_alloptions()));",
            "ok": true,
            "status": 0,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html eval echo json_encode(['content'=>WP_CONTENT_DIR,'plugins'=>WP_PLUGIN_DIR]);",
            "ok": true,
            "status": 0,
            "error": null
          }
        ]
      }
    },
    "perf-adapted-missing-cli": {
      "process_exit": 0,
      "report": {
        "tool": {
          "name": "perf_inspect",
          "version": "0.1.0"
        },
        "target": {
          "path": "/var/www/html",
          "url": null
        },
        "wpCli": {
          "available": false,
          "info": {
            "ok": false,
            "status": null,
            "error": {
              "message": "spawnSync wp ENOENT",
              "code": "ENOENT"
            },
            "stdout": "",
            "stderr": "",
            "args": [
              "--allow-root",
              "--info"
            ]
          }
        },
        "wp": {
          "isInstalled": null,
          "coreVersion": null
        },
        "commands": {
          "doctor": {
            "available": false
          },
          "profile": {
            "available": false
          }
        },
        "perfSignals": {
          "autoloadTotalBytes": null,
          "hasObjectCacheDropin": null,
          "hasAdvancedCacheDropin": null,
          "hasQueryMonitorPlugin": null,
          "hasPerformanceLabPlugin": null
        },
        "notes": [
          "WP-CLI not available on PATH. Run in the intended environment (container/ssh) or install WP-CLI."
        ],
        "_runs": []
      }
    },
    "perf-adapted-bad-path": {
      "process_exit": 0,
      "report": {
        "tool": {
          "name": "perf_inspect",
          "version": "0.1.0"
        },
        "target": {
          "path": "/not-a-wordpress-install",
          "url": null
        },
        "wpCli": {
          "available": true,
          "info": {
            "ok": true,
            "status": 0,
            "error": null,
            "stdout": "OS:\tLinux 6.12.111+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.111-1 (2026-09-28) x86_64\nShell:\t\nPHP binary:\t/usr/local/bin/php\nPHP version:\t8.3.35\nphp.ini used:\t\nMySQL binary:\t\nMySQL version:\t\nSQL modes:\t\nWP-CLI root dir:\tphar://wp-cli.phar/vendor/wp-cli/wp-cli\nWP-CLI vendor dir:\tphar://wp-cli.phar/vendor\nWP_CLI phar path:\tphar:///fixture/wp-cli.phar\nWP-CLI packages dir:\t\nWP-CLI cache dir:\t/root/.wp-cli/cache\nWP-CLI global config:\t\nWP-CLI project config:\t\nWP-CLI version:\t2.12.0",
            "stderr": "",
            "args": [
              "--allow-root",
              "--info"
            ]
          }
        },
        "wp": {
          "isInstalled": false,
          "coreVersion": null
        },
        "commands": {
          "doctor": {
            "available": false
          },
          "profile": {
            "available": false
          }
        },
        "perfSignals": {
          "autoloadTotalBytes": null,
          "hasObjectCacheDropin": null,
          "hasAdvancedCacheDropin": null,
          "hasQueryMonitorPlugin": null,
          "hasPerformanceLabPlugin": null
        },
        "notes": [
          "WordPress not detected at the given --path/--url (check wp-config.php and targeting)."
        ],
        "_runs": [
          {
            "cmd": "--allow-root --path=/not-a-wordpress-install core is-installed",
            "ok": false,
            "status": 1,
            "error": null
          }
        ]
      }
    }
  },
  "autoload_cross_check": {
    "autoload_values": [
      "yes",
      "on",
      "auto-on",
      "auto"
    ],
    "total_bytes": 30136,
    "excluded_bytes": 1578,
    "seeded_bytes": 100
  },
  "custom_content_truth": {
    "content_dir": "/tmp/custom-wp-content",
    "object_cache_exists": true,
    "query_monitor_file_exists": true
  },
  "source_hashes": {
    "perf.mjs": "5031a0ce0b81074cbf0fb69be5a60b8031de78f33fe2d6325c0d022165d6b688",
    "ops.mjs": "156d432ad3867fa9e8d53d09c0614350c4d9e2f6909b861779de9b137e0857c1",
    "setup-cli-fixture.php": "a4dac17c948ed6b8146960984cd9793ff3f308454ff10bc208ed00bf716640e6",
    "run-cli-fixture.py": "a30ea157743d0a563728f9e95a6079bade808012f76e564be16f105567bdc043",
    "perf-adapted.mjs": "345b9755174127c5c77e50d3ecf14cfbe4b96130b282341184740872b0f6d0b2"
  },
  "scope": "Actual upstream native helper execution, dependency/target checks, synthetic autoload values and file-presence signals. No AI client, speed benchmark, migration, persistent cache, multisite or production site tested.",
  "observed_upstream_limitations": [
    "WP-CLI 2.12.0 autoload=on excluded auto/auto-on values in the synthetic fixture",
    "Upstream helper assumes default wp-content and plugin paths; configured content directory produced false negatives"
  ],
  "adapted_helper_verified": true,
  "runtime_tested": false,
  "native_helpers_executed": true,
  "internal_network": true,
  "published_ports": false,
  "production_mounts_or_networks": false,
  "credentials_saved_or_exported": false,
  "external_ai_calls": false
}

Environment

WordPress 7.1.2; PHP 8.3.35; MariaDB 11.4.13; WP-CLI 2.12.0; Node.js 22.23.3. Internal disposable Docker network; no published ports or production mounts.

Package SHA-256: c821391626b136a0b0e12b6c7b89416bff57e815b6b83e35ddb988bf6927999a

Outcome recorded: 2026-10-04 10:51 UTC

Community reviews

★ New

Be the first to share your experience.

Sign in to leave a review →

Guides using this resource

All guides →
Practical guide

Read WordPress diagnostic reports before changing a site

Read a WordPress diagnostic report before changing a site. Our disposable WordPress fixture exposed misleading autoload totals and default-path assumptions, then checked a revised…

By BB Skills · Read guide →
Practical guide

Test WordPress REST skills with roles and real HTTP

Test a WordPress REST API skill with explicit user roles, invalid parameters and observable responses. Our isolated WordPress 7.1.2 fixture recorded 27 HTTP observations…

By BB Skills · Read guide →

More to explore

View all ↗