|
|
||
|---|---|---|
| .. | ||
| freshness.sh | ||
| metadata.sh | ||
| README.md | ||
| resolve.sh | ||
WP Packages Benchmarks
Comparative benchmarks: WP Packages vs WPackagist.
Prerequisites
composer(v2+)curljqhyperfine(optional, for statistical benchmarking —brew install hyperfine)
Scripts
resolve.sh — Composer resolve times
Measures cold and warm composer update times for both repositories using identical plugin sets (small, medium, large).
./benchmarks/resolve.sh
metadata.sh — Repository metadata comparison
Compares metadata download sizes, TTFB, and response times for packages.json, provider files, and p2 endpoints.
./benchmarks/metadata.sh
freshness.sh — Version freshness audit
Checks a sample of popular plugins and compares which versions each repo exposes. Detects gaps or staleness.
./benchmarks/freshness.sh
Output
Results are written to benchmarks/results/ (gitignored).