Skip to content

Microbench BootOrchestrator::execute() end-to-end (mocked) #124

Description

@kat-perez

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 orchestrator runs and emits cycle counts for execute() (happy path, mocked deps)
  • Output uses --output-format bencher so it's parseable by benchmark-action/github-action-benchmark
  • Bench is wired into the PR-comment workflow once Workflow that runs benches + posts results as PR comment #122 lands

Dependencies

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions