You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Android 11 added support for Brotli compression in sync push/pull, Android 12 further added lz4 and zstd support. Using compression can result in up to 2x transfer speed.
brotli-wasm is the most promising one, but it does work (out-of-the-box) with Vite (httptoolkit/brotli-wasm#8), so it can't be used in a library that may be consumed by any bundler.
lz4-wasm doesn't expose streaming compression API so can't be used.
zstd-wasm has 0 documentation so I don't know what it does.
Android 11 added support for Brotli compression in sync push/pull, Android 12 further added lz4 and zstd support. Using compression can result in up to 2x transfer speed.
Algorithms:
From https://android-review.googlesource.com/c/platform/system/core/+/1276917, pull speed in MB/s:
No pure-JS implementations of all three algorithms were found on NPM. Need to create them ourselves.
Android 12 also added a dry-run flag in push/pull for testing. Shouldn't be useful in real situations: https://android-review.googlesource.com/c/platform/system/core/+/1276918
The text was updated successfully, but these errors were encountered: