بنقرة واحدة
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 ويثبّتها لك.
استنادا إلى تصنيف 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
Fix a bug following the test-first approach -- reproduce with test, then fix, then verify
| 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.