-
-
Notifications
You must be signed in to change notification settings - Fork 127
perf: parallelize remaining serial/blocking hot paths (startup, media, send/recv) #975
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 24 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
05641bd
perf(appstate): download external blobs concurrently during sync
claude b8f28f4
perf(media): stream buffered download() instead of fetch-then-decrypt
claude 6e74ff5
perf(usync): resolve device lists from the registry concurrently
claude c3683ca
perf(recv): release the per-sender session lock before dispatch
claude 03a2606
feat(media): add batched MediaReupload::request_many
claude afdeaf6
perf(connect): don't gate set_passive on the login pre-key upload
claude a060647
perf(status): resolve recipient LIDs concurrently
claude ee95283
docs(sticker_pack): show concurrent zip + thumbnail upload
claude 39ae7a4
perf(sync): ingest history-sync tasks concurrently, app-state stays s…
claude bf2f51a
perf(session): probe has_session concurrently in ensure_sessions
claude e2267b6
perf(prekeys): load companion account identities concurrently
claude 7584782
perf(contacts): run is_on_whatsapp PN and LID queries concurrently
claude 368795f
perf(retry): resolve chat and sender JIDs concurrently for the cache key
claude ee4aeb3
fix(media): give each download() attempt a fresh buffer
claude b4fd1c8
fix(recv): defer dispatch only for single-payload session batches
claude ec08405
perf(contacts): fail fast when an is_on_whatsapp query errors
claude d5c1ace
perf(appstate): dedup external blob downloads by directPath
claude edc177c
style: clarify sync intake log and trim verbose comments
claude 3a15af8
fix(recv): keep tracing::instrument on process_session_enc_batch
claude 95b9324
fix(contacts): use join! not try_join! for is_on_whatsapp
claude 68be4c2
test(media): cover download_media_with_retry auth-refresh retry
claude a9f72e0
revert(recv): keep the per-sender session lock through dispatch
claude 8e339d9
fix(media): serialize batched reuploads that share a msg_id
claude a3c0ff7
test(media): cover intra-attempt host failover in download_media_with…
claude df18939
fix(media): reject duplicate msg_ids in request_many instead of seria…
claude 9e7e15f
fix(media): bound the streaming download reader to max_body_bytes
claude 59d67f7
fix(connect): order login pre-key upload before signed-pre-key rotation
claude 3fcb3f5
fix(history-sync): serialize tc-token get-then-store across concurren…
claude 0a9af66
docs(sync): clarify the major-sync channel carries only history tasks
claude 89fe09f
docs(history-sync): note the in-flight counter's underflow clamp
claude File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.