Skip to content

Testing: Regenerate examples benchmark AOT row for 003 after #568 #716

@PurHur

Description

@PurHur

Problem

#491 added VM/JIT benchmark columns for examples/003-MiniWebApp with AOT columns n/a until native user-class link.

#752 ✅ closed — phpc build --project links on harness. The public examples/README.md benchmark table still shows n/a for bin/compile.php and ./compiled because #764 blocks non-empty execute.

Without this gate, the README table stays misleading after link lands but before execute.

Goal

When LLVM is ready and link succeeds and execute returns HTML (#764 green):

Scope

Implementation hints

File Notes
script/rebuild-examples.php Call phpc build --project examples/003-MiniWebApp; run binary via subprocess + env
examples/README.md Auto-updated; hand-edit only outside markers
Makefile MINIWEBAPP_LINT_GATE=1 ./script/rebuild-examples.php
# After #764 on branch with LLVM:
BENCH_MINIWEBAPP=1 php script/rebuild-examples.php
grep 003-MiniWebApp examples/README.md

Acceptance criteria

Docker:

docker run --rm -v "$(pwd):/compiler" -w /compiler php-compiler:22.04-dev \
  ./script/ci-fast.sh --filter RebuildExamples

Dependencies

Links

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions