Skip to content

Docs: add 003-MiniWebApp to examples benchmark table (#491)#685

Merged
PurHur merged 1 commit into
masterfrom
issue-491-miniwebapp-benchmark
May 22, 2026
Merged

Docs: add 003-MiniWebApp to examples benchmark table (#491)#685
PurHur merged 1 commit into
masterfrom
issue-491-miniwebapp-benchmark

Conversation

@PurHur
Copy link
Copy Markdown
Owner

@PurHur PurHur commented May 22, 2026

Summary

  • Extend script/rebuild-examples.php to benchmark examples/003-MiniWebApp/public/index.php when phpc lint --all passes (or BENCH_MINIWEBAPP=1), using PATH_INFO=/home CGI env for native/VM/JIT columns.
  • Keep AOT compile/run columns n/a until phpc build --project link is green (AOT: Native user-class object model for phpc build --project #568).
  • Regenerate examples/README.md benchmark table (003 row between 002 and 004) and document the gate in the Benchmark results section.

Test plan

  • MINIWEBAPP_LINT_GATE=1 php script/rebuild-examples.php in Docker (with .llvm for other examples)
  • vendor/bin/phpunit --filter PHPCompiler\\RebuildExamplesTest
  • ./script/docker-ci-local.sh fast (default gates)

Closes #491

Made with Cursor

When MiniWebApp lint is green (or BENCH_MINIWEBAPP=1), rebuild-examples
benchmarks public/index.php with PATH_INFO=/home; AOT columns stay n/a
until phpc build --project link (#568).

Co-authored-by: Cursor <cursoragent@cursor.com>
@PurHur PurHur merged commit 35a25dc into master May 22, 2026
@PurHur PurHur deleted the issue-491-miniwebapp-benchmark branch May 22, 2026 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs: Add 003-MiniWebApp row to examples benchmark table when VM green

1 participant