-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
<!-- The title and description of pull requests will be used when creating a squash commit to the base branch (usually `main`). Please keep them both up-to-date as the code change evolves, to ensure that the commit message is useful for future readers. --> ## Description of change Refactors `Headers` to have two new public methods: `get_as_optional_string` and `get_as_string`. Refactor `head_object` and `put_object` to use new header methods rather than custom implementations <!-- Please describe your contribution here. What is the change and why are you making it? --> Relevant issues: N/A ## Does this change impact existing behavior? Changes log format slightly by making "Header string was not valid" text part of HeadersError. <!-- Please confirm there's no breaking change, or call our any behavior changes you think are necessary. --> ## Does this change need a changelog entry in any of the crates? No <!-- Please confirm yes or no. If no, add justification. If unsure, ask a reviewer. You can find the changelog for each crate here: - https://github.com/awslabs/mountpoint-s3/blob/main/mountpoint-s3/CHANGELOG.md - https://github.com/awslabs/mountpoint-s3/blob/main/mountpoint-s3-client/CHANGELOG.md - https://github.com/awslabs/mountpoint-s3/blob/main/mountpoint-s3-crt/CHANGELOG.md - https://github.com/awslabs/mountpoint-s3/blob/main/mountpoint-s3-crt-sys/CHANGELOG.md --> --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and I agree to the terms of the [Developer Certificate of Origin (DCO)](https://developercertificate.org/). --------- Signed-off-by: Simon Beal <[email protected]>
- Loading branch information
Showing
3 changed files
with
58 additions
and
62 deletions.
There are no files selected for viewing
This file contains 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 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 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
89e13a1
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.
Possible performance regression was detected for benchmark 'Throughput Benchmark (S3 Standard)'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold
2
.random_read
2.86328125
MiB/s5.8833984375
MiB/s2.05
This comment was automatically generated by workflow using github-action-benchmark.