Skip to content

Conversation

@ftheirs
Copy link
Contributor

@ftheirs ftheirs commented Nov 4, 2025

The SDK’s fingerprinting slowed as file size grew due to:

  • Too many JS↔WASM calls per 1 KiB chunk
  • Blob creation coupled with fingerprint computation

This PR batches chunks into larger WASM calls, streams input efficiently, and decouples Blob creation from fingerprinting.

A WIP performance test was added under the perf suite. It currently measures getFingerprint; upload/download timings will be added to capture end-to-end performance.

@ftheirs ftheirs marked this pull request as ready for review November 4, 2025 15:07
@ftheirs ftheirs added D2-noauditneeded🙈 PR doesn't need to be audited not-breaking Does not need to be mentioned in breaking changes B1-sdknoteworthy Changes should be mentioned in SH SDK related release notes labels Nov 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

B1-sdknoteworthy Changes should be mentioned in SH SDK related release notes D2-noauditneeded🙈 PR doesn't need to be audited not-breaking Does not need to be mentioned in breaking changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants