1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
## 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
```sh
go test -tags "integration perftest" -c -o uploader.test ./manager/internal/integration/performance/uploader
```
## Usage Example:
```sh
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
```
|