Skip to content

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

@PurHur

Description

@PurHur

Problem

examples/README.md benchmark table lists 000, 001, 002, 004 but omits 003-MiniWebApp. #539 ✅ VM lint + serve + PATH_INFO PHPTs are green; the missing row hides compile/run regressions for the north-star app.

#60 closed adding 001-SimpleWeb; no follow-up tracked 003.

Goal

  1. Add examples/003-MiniWebApp/ to script/rebuild-examples.php / script/bench.php
  2. Regenerate the benchmark table comment block in examples/README.md
  3. Document VM column: public/index.php with QUERY_STRING=route=home or PATH_INFO env
  4. AOT column: phpc build --project when AOT: Native user-class object model for phpc build --project #568 / Testing: ExamplesCompileTest MiniWebApp AOT lint-only stage (pre #568 link) #624 lint stage unblocks link

Implementation hints

File Change
script/rebuild-examples.php Include 003 when MINIWEBAPP_LINT_GATE=1 or BENCH_MINIWEBAPP=1
script/bench.php VM: bin/vm.php with CGI env; optional JIT/AOT columns
examples/README.md Regenerate <!-- benchmark table --> block

Scope

Acceptance criteria

MINIWEBAPP_LINT_GATE=1 ./script/rebuild-examples.php
grep 003-MiniWebApp examples/README.md
docker run --rm -v "$(pwd):/compiler" -w /compiler php-compiler:22.04-dev \
  MINIWEBAPP_LINT_GATE=1 ./script/rebuild-examples.php

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