Repository navigation
docs: ASAPBench interface design - #266
Merged
Merged
Conversation
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>
The document now describes main as it is after #268-#283: the system registry, the one-shot and write-throughput interfaces, the full traits and types, the run directory, and which output formats carry a version. It covers interfaces only (measurement and scoring methods are out), opens with the five interfaces at a glance, and its example is the ASAPQuery-backend 8263b22b vs VictoriaMetrics run of use case 5. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Fj92nP6BDs8xKTsK4ANbnP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
docs/interface-design.md: the interfaces of ASAPBench as they are onmain(after #268–#283), for people who add a sketch or a system, run the benchmark, or call it from another crate.approxbench benchmark-external, running a use case withrun_use_case_on_systems.py, callingaqpbm-corefrom code), with what goes in, what comes out, and which output formats carry a version number.EngineUnderTest,InstalledArm,SampleWriter) and for one-shot queries (OneShotQueryEngine); the order of calls; what the harness does when something fails; the steps, including the system registry and the conformance check.8263b22bagainst VictoriaMetrics v1.154.1 on use case 5 (one arm, two trials, numbers from that run); the workload file, arms, commands, and the outputs ofapproxbenchand of the use-case script.How the benchmark measures time and memory, and how it scores answers, are left to other documents.
Only this one document changes.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Fj92nP6BDs8xKTsK4ANbnP