File: README.md

package info (click to toggle)
golang-github-aws-aws-sdk-go-v2 1.17.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 384,244 kB
  • sloc: java: 13,538; makefile: 400; sh: 137
file content (22 lines) | stat: -rw-r--r-- 615 bytes parent folder | download | duplicates (5)
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
```