File: README.md

package info (click to toggle)
golang-github-aws-aws-sdk-go-v2 1.30.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 662,428 kB
  • sloc: java: 16,875; makefile: 432; sh: 175
file content (22 lines) | stat: -rw-r--r-- 616 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

Downloads a test file from a S3 bucket using the SDK's S3 download manager. Allows passing
in a custom configuration for the HTTP client and SDK's Download Manager behavior.

## Build
```sh
go test -tags "integration perftest" -c -o download.test ./manager/internal/integration/download
```

## Usage Example:
```sh
AWS_REGION=us-west-2 AWS_PROFILE=aws-go-sdk-team-test ./download.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
```