perf(bench): evaluate CBOR for remote-access IR#195
Open
thaodt wants to merge 1 commit into
Open
Conversation
Collaborator
Author
|
@lxsaah open this PR for your review, its for evaluation, not intended for merge. Please check the PR's description for detail and run benches yourself to validate my result too. |
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.
Description
Investigates whether CBOR should replace JSON as the self-describing representation at AimDB's type-erased remote-access boundary.
This PR:
no_stdCortex-M fixture for comparing linked JSON and CBOR footprintResult
The resulting decision is an evidence-backed no-go for replacing the current JSON representation or changing AimX v2 as part of this issue.
The recommended follow-up is a compatibility-preserving direct-JSON-bytes optimization. A native binary remote edge should only be considered separately when there is a concrete byte-heavy consumer, protocol negotiation, bounded decoding and a target memory budget.
CBOR remains isolated to the unpublished benchmark crate and standalone footprint fixture. This PR does not change any production API, connector behavior or wire protocol.
Related Issue
Checklist
make check).