-
Notifications
You must be signed in to change notification settings - Fork 30.6k
Turbopack: Use batch get request to read more efficient from database #87106
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
+1,150
−123
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
02d79d8
Initial batch_get method
sokra 5e7bfdc
improve batch_get performance
sokra c07f34c
add db read spans
sokra 84611a1
add batch read the backing storage
sokra ebb0253
add prepare tasks helpers
sokra 3eb186a
move prefetch to batch get on task start
sokra 9fb956e
batch in task_execution_completed_invalidate_output_dependent
sokra a8e21d5
batch in task_execution_completed_unfinished_children_dirty
sokra a9657cf
batch in aggregated_data_update
sokra bf934af
batch in inner_of_uppers_has_new_follower
sokra aedbbb6
batch in inner_of_uppers_lost_follower
sokra 8c64648
cleanup
sokra 4910ff6
batch in update cell
sokra 830be14
typo
sokra f581136
cleanup, clippy
sokra bb0477a
improve case without restoring
sokra 97f4f31
feature flag code needed only for stats
sokra 0322319
clippy
sokra 3706564
fix warning
sokra 08e7942
clippy
sokra 0526041
handle empty range
sokra e4cac2b
Only use batch restore when there are more than one task to restore
sokra cb44140
add debug_assert to check sorted
sokra 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
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.