diff options
| author | Nat Makarevitch <nat@makarevitch.org> | 2022-05-16 22:11:33 +0800 |
|---|---|---|
| committer | Nat Makarevitch <nat@makarevitch.org> | 2022-05-16 22:11:33 +0800 |
| commit | b72f0634d7d7d736cee96477852a8d36e89ac1cb (patch) | |
| tree | 09e0cf1e66bd16519c364bb2f30192cd07c69b8a /weed/command/benchmark.go | |
| parent | 17c676cb86a5e9a7d2b9c8c6b1970c0350406fd0 (diff) | |
| download | seaweedfs-b72f0634d7d7d736cee96477852a8d36e89ac1cb.tar.xz seaweedfs-b72f0634d7d7d736cee96477852a8d36e89ac1cb.zip | |
minor (typos...), done while reading around
Diffstat (limited to 'weed/command/benchmark.go')
| -rw-r--r-- | weed/command/benchmark.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/weed/command/benchmark.go b/weed/command/benchmark.go index 82821f579..9f18cc5b9 100644 --- a/weed/command/benchmark.go +++ b/weed/command/benchmark.go @@ -74,14 +74,14 @@ func init() { var cmdBenchmark = &Command{ UsageLine: "benchmark -master=localhost:9333 -c=10 -n=100000", - Short: "benchmark on writing millions of files and read out", + Short: "benchmark by writing millions of files and reading them out", Long: `benchmark on an empty SeaweedFS file system. Two tests during benchmark: 1) write lots of small files to the system 2) read the files out - The file content is mostly zero, but no compression is done. + The file content is mostly zeros, but no compression is done. You can choose to only benchmark read or write. During write, the list of uploaded file ids is stored in "-list" specified file. @@ -468,7 +468,7 @@ func (s *stats) printStats() { timeTaken := float64(int64(s.end.Sub(s.start))) / 1000000000 fmt.Printf("\nConcurrency Level: %d\n", *b.concurrency) fmt.Printf("Time taken for tests: %.3f seconds\n", timeTaken) - fmt.Printf("Complete requests: %d\n", completed) + fmt.Printf("Completed requests: %d\n", completed) fmt.Printf("Failed requests: %d\n", failed) fmt.Printf("Total transferred: %d bytes\n", transferred) fmt.Printf("Requests per second: %.2f [#/sec]\n", float64(completed)/timeTaken) |
