Skip to content

docs: interface design for the operator and system levels - #266

Open
GordonYuanyc wants to merge 2 commits into
mainfrom
docs/interface-design
Open

GordonYuanyc wants to merge 2 commits into
mainfrom
docs/interface-design

Conversation

@GordonYuanyc

Copy link
Copy Markdown
Collaborator

Adds docs/interface-design.md, which describes what ASAPBench's interfaces should be. It is not a change proposal and not a description of the current code.

  • Operator level: the sketch registry entry, the wrapper function shapes, and the call order of one measurement.
  • System level: the EngineUnderTest and InstalledArm traits, the types the harness passes in and gets back, the call order, and the steps to add a system.
  • Inputs and outputs: the workload, arm and protocol formats, the command lines, and the run directory layout.
  • Measurement, accuracy and errors: where the timer sits, the repetitions, the load check, where exact answers come from, and what the harness does when something fails.
  • Public and internal: what other crates may depend on.
  • Open questions: decisions this document leaves open.

The sketch and library names are written in full (count-min, asap_sketchlib, sketch_oxide). The code still uses the short names; renaming it is left to a later change.

Only this one document changes.

🤖 Generated with Claude Code

GordonYuanyc and others added 2 commits November 24, 2026 00:27
Describes what the benchmark's interfaces should be: the sketch registry
entry and wrapper functions at operator level; the EngineUnderTest and
InstalledArm traits, workload and arm inputs, run directory outputs, and
measurement, accuracy and error rules at system level; which parts are
public; and the open questions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
count-min instead of cms, count-min-fast-path-vector-2d instead of
cms-fastpath-vector2d, sketch_oxide instead of oxide, asap_sketchlib
instead of lib.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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