بنقرة واحدة
perf-check
Verify no performance regression after code changes -- gate before shipping
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Verify no performance regression after code changes -- gate before shipping
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Dual-perspective code review — Lead Dev (architecture/correctness) + Dev (implementation/tests). Runs entirely in the main agent for easy follow-up.
Update EggPdf documentation — README, docs/ wiki pages, site/, llms.txt, CLAUDE.md — to reflect current implementation
Implement a new feature following EggPdf's test-first, performance-aware development loop
Render HTML through EggPdf and analyze PDF output for visual correctness issues
Render all WebUI templates through the PDF pipeline and verify output correctness
Run EggPdf benchmarks and analyze performance for specific rendering scenarios
| name | perf-check |
| description | Verify no performance regression after code changes -- gate before shipping |
| disable-model-invocation | true |
| user-invocable | true |
| allowed-tools | Bash, Read, Grep, Glob |
Verify that code changes haven't introduced performance regressions. This MUST pass before any PR is shipped.
Check what changed -- run git status and git diff --stat to understand modified files.
Identify affected benchmarks by analyzing which files changed:
EggPdf.Html/ changes -> run Parse benchmarksEggPdf.Css/ changes -> run Parse + Style benchmarksEggPdf.Layout/ changes -> run Layout benchmarks (ALL)EggPdf.Text/ changes -> run Font + Layout benchmarksEggPdf.Paint/ changes -> run Render benchmarksEggPdf.Pdf/ changes -> run Render + PDF write benchmarksEggPdf.Core/ changes -> run ALL benchmarksRun affected benchmarks:
cd benchmarks/EggPdf.Benchmarks && dotnet run -c Release -- --filter *{scenario}* --exporters json markdown
Analyze results against targets (from BLUEPRINT.md):
Report verdict:
Changed files: list modified files Benchmarks run: list scenarios Results:
| Scenario | Current | Baseline | Delta | Status |
|---|
If FAIL:
IMPORTANT: Do NOT approve changes that regress performance beyond 15%. Performance is a core value for EggPdf.