=== PhoenixForge Performance Monitor ===
Contributors: ryanpurvisphoenixforge
Tags: performance, page speed, database, caching, monitoring
Requires at least: 6.2
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 2.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Page load tracking, database query profiling, asset analysis, caching verification, and performance scoring.

== Description ==

PhoenixForge Performance Monitor gives you deep visibility into your WordPress site's speed. Track page load times, profile database queries, analyse asset loading, verify caching configuration, and monitor performance trends over time.

**The problem:** Your site feels slow but you don't know why. Is it the database? A heavy plugin? Unoptimised images? Missing caching? Without data, you are guessing.

**The solution:** PhoenixForge Performance Monitor measures everything. Page load times by URL, database query counts and durations, CSS/JS asset sizes, caching hit rates, and server response times. See exactly what is slow and fix it with confidence.

= Free Features =

* Page load time tracking across all URLs
* Database query profiling (count, duration, slow queries)
* CSS and JavaScript asset analysis
* Object cache and page cache verification
* Performance score with weighted criteria
* Performance history with trend charts

= Pro Features =

* Real user monitoring (RUM) from actual visitors
* Core Web Vitals tracking (LCP, FID, CLS)
* Plugin-level performance impact analysis
* Scheduled performance reports
* Performance budgets with alerts
* Priority support

= Part of the PhoenixForge Suite =

PhoenixForge Performance Monitor feeds data to PhoenixForge Maintenance Reports for client reporting and pairs with PhoenixForge Copilot for AI-powered performance diagnosis and optimisation recommendations.

== Installation ==

1. Upload the plugin files to `/wp-content/plugins/wp-performance-monitor/`
2. Activate the plugin through the 'Plugins' screen in WordPress
3. Navigate to Performance Monitor in the admin menu
4. The plugin begins tracking automatically after activation
5. View your performance dashboard after collecting initial data

== Frequently Asked Questions ==

= Does the monitoring itself affect performance? =
PhoenixForge Performance Monitor is designed to be lightweight. The tracking overhead is negligible and will not noticeably affect your page load times.

= How far back does it keep history? =
The free version retains 30 days of performance history. Pro extends this to 12 months.

= Can I identify which plugin is slowing my site? =
Pro includes plugin-level performance impact analysis that measures each plugin's contribution to page load time.

= Is there a Pro version? =
Yes, Pro adds real user monitoring, Core Web Vitals, plugin impact analysis, and performance budgets. Visit phoenixforge.io for details.

= Does it track Core Web Vitals? =
Core Web Vitals tracking (LCP, FID, CLS) is available in Pro. The free version tracks server-side performance metrics.

== Screenshots ==

1. Performance dashboard with weighted score, page load times, and trend charts
2. Database query profiler showing slow queries, counts, and execution durations
3. CSS and JavaScript asset analysis with file sizes and loading impact
4. Cache verification panel showing object cache and page cache hit rates
5. Response time history chart with performance trends over 30 days

== Third-Party Services ==

This plugin connects to external services under certain conditions:

= PhoenixForge License Server =
When you activate a Pro license key, the plugin validates it with the PhoenixForge license server.
* Service URL: https://phoenixforge-licenses.phoenixforge.workers.dev
* Privacy Policy: https://phoenixforge.io/privacy
* Terms of Service: https://phoenixforge.io/terms
* Data sent: License key, site URL
* When: On license activation, deactivation, and daily revalidation

= PhoenixForge Update Server =
The plugin checks for new versions from the PhoenixForge update server. This is disabled in WordPress.org distributed builds.
* Service URL: https://phoenixforge-updates.phoenixforge.workers.dev
* Privacy Policy: https://phoenixforge.io/privacy
* Terms of Service: https://phoenixforge.io/terms
* Data sent: Plugin slug and current version
* When: During WordPress update checks (approximately every 12 hours)

= Outbound Webhooks (Pro Feature) =
Pro users can optionally configure webhook URLs to send event data to services like Zapier, Make, or n8n.
* Only active when explicitly configured by the site administrator
* Data sent: Event type, site URL, and event-specific data
* Destination URL is entirely user-controlled

== Changelog ==

= 2.0.0 =
* Initial public release
* Page load time tracking
* Database query profiling
* Asset analysis
* Caching verification
* Performance scoring

== Upgrade Notice ==

= 2.0.0 =
Initial release.
