packages.wenpai.net/benchmarks
Tang Rufus 4c2225285c
Remove only from usage instructions (#43)
Composer v2 reads `available-package-patterns`
from repo's `/packages.json`.
2026-03-21 13:45:35 -05:00
..
freshness.sh WP Packages rename (#42) 2026-03-19 11:50:12 -05:00
metadata.sh WP Packages rename (#42) 2026-03-19 11:50:12 -05:00
README.md WP Packages rename (#42) 2026-03-19 11:50:12 -05:00
resolve.sh Remove only from usage instructions (#43) 2026-03-21 13:45:35 -05:00

WP Packages Benchmarks

Comparative benchmarks: WP Packages vs WPackagist.

Prerequisites

  • composer (v2+)
  • curl
  • jq
  • hyperfine (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).