perf-measure
CommunityMeasure Drupal performance inside DDEV.
Authorcosmicdreams
Version1.0.0
Installs0
System Documentation
What problem does it solve?
perf-measure eliminates guesswork by producing structured, machine-readable performance metrics for Drupal requests so you can quantify what changed.
Core Features & Use Cases
- DDEV-based PHP profiling: Captures wall time, CPU time (when available), memory peak, total function calls, and top functions for a Drupal page load.
- Multiple profiling modes: Use xhprof for callgraph-based analysis, New Relic for continuous APM snapshots, or slow-query-log parsing for database pattern changes.
- Experiment-loop ready output: Emits a JSON contract with
scoresandcallgraph_top_10to drive automated ratcheting and hypothesis generation.
Quick Start
Run perf-measure with xhprof to profile the homepage in your DDEV environment and get a JSON report of timing, memory, query counts, and the top 10 inclusive functions.
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: perf-measure Download link: https://github.com/cosmicdreams/claude-plugins/archive/main.zip#perf-measure Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.