Skip to content

WIP: make arrow examples executable - #192

Draft
ev-br wants to merge 2 commits into
benchx-dev:mainfrom
ev-br:exec_example_arrow
Draft

ev-br wants to merge 2 commits into
benchx-dev:mainfrom
ev-br:exec_example_arrow

Conversation

@ev-br

@ev-br ev-br commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

follow-up to #167

ev-br's Claude Code Agent and others added 2 commits December 4, 2026 12:20
Convert the two Arrow-shaped examples of benchx_examples (examples/arrow/demo and
examples/arrow/archery-local) to executable READMEs, run by tools/execute_markdown.py
like pyperf-suite and matmul-params:

- arrow-demo: both comparison profiles on a small Google Benchmark suite built with
  CMake, the local store, a rejected unit conflict, series and history.
- archery-local: the target provider walkthrough (describe vs prepare, how_built and
  activation recorded in the results, and the case of a forgotten activation).
- arrow-suite: the C++ suite both examples copy. It has no README, so the docs
  tooling does not count it as an example.

The run.sh wrappers are gone; each fence is a shell of its own, so the state lives in
_work/ and the commands are the current CLI (bx, --run-key). Both examples are matrix
legs of the `examples` job in docs.yml (the runner has cmake and a C++ compiler), and
docs/examples.md lists them as worked examples.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The long commands of the two READMEs send their stderr to a log under _work/, to keep the
page short. When one failed, the runner's block log was empty and the reason was only in
that log: `bx target prepare` failing on a missing or too old cmake gave "Bash exited with
status 2" and nothing else.

Each such command now prints its log when it fails: the prepare, compare and unactivated
compare fences of archery-local, and the build function and the two compare fences of
arrow-demo. Both READMEs say so once, near the top.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@ev-br
ev-br marked this pull request as draft December 4, 2026 14:03

This branch has not been deployed

No deployments
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.

1 participant