بنقرة واحدة
profile-wp-functions
Profile WordPress to identify functions suitable for Rust replacement.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Profile WordPress to identify functions suitable for Rust replacement.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Add a WordPress function replacement. Full workflow from WP source to Rust implementation, testing, and registration.
Benchmark a change to prove it is faster. Runs Criterion and PHP benchmarks before and after, compares results, and rejects regressions.
Debug when a Rust implementation produces different output than the WordPress fixture. Identifies the exact behavioral difference and fixes it.
Build the extension for PHP 8.3, install in the WordPress profiling stack, and verify it works end-to-end.
| name | profile-wp-functions |
| description | Profile WordPress to identify functions suitable for Rust replacement. |
| disable-model-invocation | true |
cd profiling && docker compose up -d
./profiling/setup-wordpress.sh # if not already installed
SPX UI: http://localhost:8080/?SPX_UI_URI=/&SPX_KEY=dev
curl -H "Cookie: SPX_ENABLED=1; SPX_KEY=dev" http://localhost:8080/
curl -H "Cookie: SPX_ENABLED=1; SPX_KEY=dev" http://localhost:8080/patina-benchmark/
curl -H "Cookie: SPX_ENABLED=1; SPX_KEY=dev" http://localhost:8080/?s=lorem
For each function using >0.5% wall time or >50 calls/request, score on:
Score >= 70: implement. Also note if pluggable, if it calls apply_filters, if it depends on DB/state (skip those).
cd profiling && docker compose down