diff --git a/README.md b/README.md index 790d1fb..4481224 100644 --- a/README.md +++ b/README.md @@ -379,14 +379,14 @@ To test [POST Object](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObject Benchmarking delete operations will attempt to delete as many objects it can within `--duration`. -By default, `--objects` objects of size `--obj.size` are uploaded beforing doin the actual bench. +By default, `--objects` objects of size `--obj.size` are uploaded before doing the actual bench. The delete operations are done in `--batch` objects per request in `--concurrent` concurrently running requests. If there are no more objects left the benchmark will end. Using `--list-existing` will list at most `--objects` from the bucket and delete them instead of -deleting random objects (set it to 0 to use all objects from the lsiting). +deleting random objects (set it to 0 to use all objects from the listing). Listing is restricted to `--prefix` if it is set and recursive listing can be disabled by setting `--list-flat`. The analysis will include the upload stats as `PUT` operations and the `DELETE` operations. diff --git a/pkg/bench/benchmark.go b/pkg/bench/benchmark.go index 29cc593..ad0ef4f 100644 --- a/pkg/bench/benchmark.go +++ b/pkg/bench/benchmark.go @@ -239,7 +239,7 @@ func (c *Common) deleteAllInBucket(ctx context.Context, prefixes ...string) { } } -// prepareProgress updates preparation progess with the value 0->1. +// prepareProgress updates preparation progress with the value 0->1. func (c *Common) prepareProgress(progress float64) { if c.PrepareProgress == nil { return diff --git a/pkg/bench/fanout.go b/pkg/bench/fanout.go index f7bb2f9..53ac649 100644 --- a/pkg/bench/fanout.go +++ b/pkg/bench/fanout.go @@ -34,7 +34,7 @@ type Fanout struct { prefixes map[string]struct{} } -// Prepare will create an empty bucket ot delete any content already there. +// Prepare will create an empty bucket or delete any content already there. func (u *Fanout) Prepare(ctx context.Context) error { return u.createEmptyBucket(ctx) } diff --git a/pkg/bench/put.go b/pkg/bench/put.go index 6de1492..bfe09c7 100644 --- a/pkg/bench/put.go +++ b/pkg/bench/put.go @@ -39,7 +39,7 @@ type Put struct { cl *http.Client } -// Prepare will create an empty bucket ot delete any content already there. +// Prepare will create an empty bucket or delete any content already there. func (u *Put) Prepare(ctx context.Context) error { if u.PostObject { u.cl = &http.Client{ diff --git a/yml-samples/delete.yml b/yml-samples/delete.yml index 777382c..67ad2a4 100644 --- a/yml-samples/delete.yml +++ b/yml-samples/delete.yml @@ -39,7 +39,7 @@ warp: # Specify one or more hosts. # The benchmark will be run against all hosts concurrently. - # Multiple servers can be specified with elipsis notation; + # Multiple servers can be specified with ellipsis notation; # for example '10.0.0.{1...10}:9000' specifies 10 hosts. # See more at https://github.com/minio/warp?tab=readme-ov-file#multiple-hosts host: diff --git a/yml-samples/get.yml b/yml-samples/get.yml index cb5aa58..1ca2945 100644 --- a/yml-samples/get.yml +++ b/yml-samples/get.yml @@ -39,7 +39,7 @@ warp: # Specify one or more hosts. # The benchmark will be run against all hosts concurrently. - # Multiple servers can be specified with elipsis notation; + # Multiple servers can be specified with ellipsis notation; # for example '10.0.0.{1...10}:9000' specifies 10 hosts. # See more at https://github.com/minio/warp?tab=readme-ov-file#multiple-hosts host: diff --git a/yml-samples/list.yml b/yml-samples/list.yml index 4921a5b..86ebf42 100644 --- a/yml-samples/list.yml +++ b/yml-samples/list.yml @@ -39,7 +39,7 @@ warp: # Specify one or more hosts. # The benchmark will be run against all hosts concurrently. - # Multiple servers can be specified with elipsis notation; + # Multiple servers can be specified with ellipsis notation; # for example '10.0.0.{1...10}:9000' specifies 10 hosts. # See more at https://github.com/minio/warp?tab=readme-ov-file#multiple-hosts host: diff --git a/yml-samples/mixed.yml b/yml-samples/mixed.yml index 7459953..9dbcb9a 100644 --- a/yml-samples/mixed.yml +++ b/yml-samples/mixed.yml @@ -39,7 +39,7 @@ warp: # Specify one or more hosts. # The benchmark will be run against all hosts concurrently. - # Multiple servers can be specified with elipsis notation; + # Multiple servers can be specified with ellipsis notation; # for example '10.0.0.{1...10}:9000' specifies 10 hosts. # See more at https://github.com/minio/warp?tab=readme-ov-file#multiple-hosts host: diff --git a/yml-samples/multipart.yml b/yml-samples/multipart.yml index 1bfcec7..d5c7d3f 100644 --- a/yml-samples/multipart.yml +++ b/yml-samples/multipart.yml @@ -39,7 +39,7 @@ warp: # Specify one or more hosts. # The benchmark will be run against all hosts concurrently. - # Multiple servers can be specified with elipsis notation; + # Multiple servers can be specified with ellipsis notation; # for example '10.0.0.{1...10}:9000' specifies 10 hosts. # See more at https://github.com/minio/warp?tab=readme-ov-file#multiple-hosts host: diff --git a/yml-samples/put.yml b/yml-samples/put.yml index 785bfb4..da0f2df 100644 --- a/yml-samples/put.yml +++ b/yml-samples/put.yml @@ -39,7 +39,7 @@ warp: # Specify one or more hosts. # The benchmark will be run against all hosts concurrently. - # Multiple servers can be specified with elipsis notation; + # Multiple servers can be specified with ellipsis notation; # for example '10.0.0.{1...10}:9000' specifies 10 hosts. # See more at https://github.com/minio/warp?tab=readme-ov-file#multiple-hosts host: diff --git a/yml-samples/stat.yml b/yml-samples/stat.yml index dd12332..fef3ab1 100644 --- a/yml-samples/stat.yml +++ b/yml-samples/stat.yml @@ -39,7 +39,7 @@ warp: # Specify one or more hosts. # The benchmark will be run against all hosts concurrently. - # Multiple servers can be specified with elipsis notation; + # Multiple servers can be specified with ellipsis notation; # for example '10.0.0.{1...10}:9000' specifies 10 hosts. # See more at https://github.com/minio/warp?tab=readme-ov-file#multiple-hosts host: diff --git a/yml-samples/versioned.yml b/yml-samples/versioned.yml index 5cd4ac5..95784e6 100644 --- a/yml-samples/versioned.yml +++ b/yml-samples/versioned.yml @@ -39,7 +39,7 @@ warp: # Specify one or more hosts. # The benchmark will be run against all hosts concurrently. - # Multiple servers can be specified with elipsis notation; + # Multiple servers can be specified with ellipsis notation; # for example '10.0.0.{1...10}:9000' specifies 10 hosts. # See more at https://github.com/minio/warp?tab=readme-ov-file#multiple-hosts host: diff --git a/yml-samples/zip.yml b/yml-samples/zip.yml index 12d9637..6a0cdd9 100644 --- a/yml-samples/zip.yml +++ b/yml-samples/zip.yml @@ -39,7 +39,7 @@ warp: # Specify one or more hosts. # The benchmark will be run against all hosts concurrently. - # Multiple servers can be specified with elipsis notation; + # Multiple servers can be specified with ellipsis notation; # for example '10.0.0.{1...10}:9000' specifies 10 hosts. # See more at https://github.com/minio/warp?tab=readme-ov-file#multiple-hosts host: