OpenDevicePartnership / OpenDevicePartnership/odp-platform-common
Microbench `BootOrchestrator::execute()` end-to-end (mocked)
Open
@kat-perez is already working on this.
Since Jun 26, 2026.
- Dominant language
- Rust
- Stars
- 1
- Forks
- 5
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 9
Description
Add a criterion microbenchmark covering the full BootOrchestrator::execute() path against mocked BootServices and RuntimeServices. Reports total cycles for the happy-path BDS sequence.
Why
The headline number for patina_boot perf. Lets us cite a single figure ("execute() takes N cycles") instead of diving into per-primitive detail. Comparing this number against the C BdsDxe equivalent is the simplest perf claim we can make to OEMs.
Acceptance criteria
-
cargo bench --bench orchestratorruns and emits cycle counts forexecute()(happy path, mocked deps) - Output uses
--output-format bencherso it's parseable bybenchmark-action/github-action-benchmark - Bench is wired into the PR-comment workflow once #122 lands
Dependencies
- Blocked by: #115 (bench harness scaffolding must exist first)
- Blocks: #122 (PR-comment workflow has nothing to display until at least one bench exists)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.