-
Notifications
You must be signed in to change notification settings - Fork 375
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
feat: implement parallel operations (#2067) #2109
Conversation
Here is the summary of changes. You are about to add 3 region tags.
This comment is generated by snippet-bot.
|
* feat: implement parallel operations * add more parallel operations * add header to test file * update import of fs/promises * fix pathing on windows, fix mocking of fs promises * add jsdoc headers to class and uploadMulti * add jsdoc comments to remaining functions * update comment wording * add experimental jsdoc tags * feat: add directory generator to performance test framework * clarify variable names and comments * capitalization * wip: transfer manager performance tests * feat: merged in application performance tests (#2100) * fix: fixed many bugs (#2102) * fix: cleaning up bugs * fix: fixed many bugs * fix: more work on transfer manager perf metrics (#2103) * fix: more work on transfer manager perf metrics * fix unit tests for tm * fix: performance test refactoring, comments (#2104) * refactor: refactor constants (#2105) * refactor: refactor constants * bug fixes * bug fixes * bug fixes * linter fixes, download to disk for performance test * rename transfer manager functions * remove callbacks from transfer manager * add more experimental tags, update comments * change signature of downloadManyFiles to accept array of strings or a folder name * linter fix * add transfer manager samples and samples tests Co-authored-by: Sameena Shaffeeullah <shaffeeullah@google.com>
53ac5b8
to
6ff1eb5
Compare
Warning: This pull request is touching the following templated files:
|
#2110) * feat: add crc32c validation option to chunked download, cleanup naming in perf tests * close file in finally block
|
||
async function uploadManyFilesWithTransferManager() { | ||
// Uploads the files | ||
await transferManager.uploadManyFiles([firstFilePath, secondFilePath]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only nit is samples don't show users how to upload / download a directory similar to Python samples; otherwise LGTM.
|
||
export interface DownloadFileInChunksOptions { | ||
concurrencyLimit?: number; | ||
chunkSizeBytes?: number; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Btw, I appreciate the unit included with the value
feat: implement parallel operations
add more parallel operations
add header to test file
update import of fs/promises
fix pathing on windows, fix mocking of fs promises
add jsdoc headers to class and uploadMulti
add jsdoc comments to remaining functions
update comment wording
add experimental jsdoc tags
feat: add directory generator to performance test framework
clarify variable names and comments
capitalization
wip: transfer manager performance tests
feat: merged in application performance tests (feat: merged in application performance tests #2100)
fix: fixed many bugs (fix: fixed many bugs #2102)
fix: cleaning up bugs
fix: fixed many bugs
fix: more work on transfer manager perf metrics (fix: more work on transfer manager perf metrics #2103)
fix: more work on transfer manager perf metrics
fix unit tests for tm
fix: performance test refactoring, comments (fix: performance test refactoring, comments #2104)
refactor: refactor constants (refactor: refactor constants #2105)
refactor: refactor constants
bug fixes
bug fixes
bug fixes
linter fixes, download to disk for performance test
rename transfer manager functions
remove callbacks from transfer manager
add more experimental tags, update comments
change signature of downloadManyFiles to accept array of strings or a folder name
linter fix
add transfer manager samples and samples tests
Co-authored-by: Sameena Shaffeeullah shaffeeullah@google.com
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
Fixes #<issue_number_goes_here> 🦕