Performance Utility
Uploads a file to a S3 bucket using the SDK's S3 upload manager. Allows passing
in a custom configuration for the HTTP client and SDK's Upload Manager behavior.
Build
go test -tags "integration perftest" -c -o uploader.test ./manager/internal/integration/performance/uploader
Usage Example:
AWS_REGION=us-west-2 AWS_PROFILE=aws-go-sdk-team-test ./uploader.test \
-test.bench=. \
-test.benchmem \
-test.benchtime 1x \
-bucket aws-sdk-go-data \
-client.idle-conns 1000 \
-client.idle-conns-host 300 \
-client.timeout.connect=1s \
-client.timeout.response-header=1s