Skip to content

feat: add configurable page performance display - #40

Merged
soulteary merged 1 commit into
mainfrom
feat/page-performance-mu-plugin
Sep 1, 2026
Merged

feat: add configurable page performance display#40
soulteary merged 1 commit into
mainfrom
feat/page-performance-mu-plugin

Conversation

@soulteary

Copy link
Copy Markdown
Owner

Summary

  • add a disabled-by-default page performance must-use plugin under Settings → Page Performance
  • support the exact lowercase WORDPRESS_PAGE_PERFORMANCE_ENABLED=true|false environment override while preserving the stored administrator setting
  • show server-side generation time, current PHP memory, and peak PHP memory in the front-end/admin toolbar
  • add the same information to the bottom of normal public pages
  • reconcile the managed MU Plugin into existing persistent WordPress volumes
  • document the public visibility and the difference between PHP generation time and browser/network timing

Behavior

  • no output is emitted by default
  • a present environment variable makes the setting read-only in WordPress
  • an invalid environment value fails closed, keeps output disabled, and shows an administrator notice
  • the toolbar receives a late footer-time update so the displayed sample is closer to completed PHP page generation

Validation

  • git diff --check
  • PHP syntax checks for the plugin and its regression test
  • tests/test-sqlite-wordpress-performance.php
  • tests/test-mu-plugin-metadata.sh
  • tests/test-entrypoint-reconcile.sh
  • tests/test-documentation.sh

GitHub Actions provides the full repository PHP suite and multi-architecture image smoke tests.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 1, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-01T17:55:24.870407Z fef0f9e PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@soulteary
soulteary merged commit 5af31ea into main Sep 1, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant