perf: optimize Protocol V2 BLE transfer throughput and metrics - #902
Draft
wabicai wants to merge 2 commits into
Draft
perf: optimize Protocol V2 BLE transfer throughput and metrics#902wabicai wants to merge 2 commits into
wabicai wants to merge 2 commits into
Conversation
Draft
5 tasks
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.
Summary
Measured results
64 Btransport packets /1800 Bfile chunks):8.81 KiB/s.244 Bnegotiated packets /1960 Bfixed-path chunks):16.72 KiB/saverage.2,440,562 B):145.62 stransfer,16.37 KiB/saverage,13.65 sinstall,211.96 sCLI end-to-end,0retries.20.3 KiB/sversus14.22 KiB/sat 30 ms. Connection-parameter changes remain outside this SDK-only PR.Test coverage
yarn workspace @onekeyfe/hd-core buildpassed.FirmwareUpdateV4.tspassed.Pre-landing review
git diff --checkpassed.@onekeyfe/hd-corepackage lint remains unusable because the existing package TypeScript configuration excludes test/dist inputs and reports unrelated baseline issues; targeted lint and the build are green.Documentation
docs/testing/pro2-ble-performance.mdwith the CLI commands, device/firmware versions, before/after results, bottleneck analysis, safe limits, platform behavior, and the firmware metric contract.Companion PR
Test plan