원클릭으로
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 직업 분류 기준
| 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
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.