一键导入
bench
Run EggPdf benchmarks and analyze performance for specific rendering scenarios
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run EggPdf benchmarks and analyze performance for specific rendering scenarios
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
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
Fix a bug following the test-first approach -- reproduce with test, then fix, then verify
基于 SOC 职业分类
| name | bench |
| description | Run EggPdf benchmarks and analyze performance for specific rendering scenarios |
| disable-model-invocation | true |
| user-invocable | true |
| allowed-tools | Bash, Read, Grep, Glob |
Run benchmarks and analyze EggPdf's rendering performance. Performance is a core value -- every change must be measured.
$ARGUMENTS -- optional benchmark filter. Examples:
Parse -> run HTML/CSS parsing benchmarksLayout -> run layout benchmarksRender -> run end-to-end rendering benchmarksMemory -> run memory allocation benchmarksFont -> run font loading/subsetting benchmarksshort -> run all benchmarks with --job short for quick smoke testRun the benchmark:
$ARGUMENTS is short:
cd benchmarks/EggPdf.Benchmarks && dotnet run -c Release -- --filter * --job short --exporters json markdown
$ARGUMENTS is provided:
cd benchmarks/EggPdf.Benchmarks && dotnet run -c Release -- --filter *{$ARGUMENTS}* --exporters json markdown
cd benchmarks/EggPdf.Benchmarks && dotnet run -c Release -- --filter * --exporters json markdown
Read and analyze results:
BenchmarkDotNet.Artifacts/results/Report with this format:
| Scenario | Time | Memory | Allocations | Pages |
|---|
Performance targets (from BLUEPRINT.md):
Per-stage breakdown (if available):
Compare against baselines if benchmarks/baselines/latest.json exists:
CRITICAL: If any target is missed, flag it and suggest optimization areas.