Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix single host mixed throughput (#106)
When only one host was present no statistics is being written: Before: ``` e:\gopath\src\github.com\minio\warp (master -> origin) λ go build && warp analyze warp-mixed-2020-05-04[204454]-2F3x.csv.zst Mixed operations. Operation: GET * Operations: 13612 (47.5% of operations) Operation: STAT * Operations: 9074 (31.7% of operations) Operation: DELETE * Operations: 3016 (10.5% of operations) Operation: PUT * Operations: 4501 (15.7% of operations) Cluster Total: 501.15 MiB/s, 999.38 obj/s (28.691s, starting 20:44:57 CEST) ``` After: ``` λ go build && warp analyze warp-mixed-2020-05-04[204454]-2F3x.csv.zst Mixed operations. Operation: GET * Operations: 13612 (47.5% of operations) * Throughput: 379.00 MiB/s, 454.05 obj/s (29.988s, starting 20:44:57 CEST) Operation: STAT * Operations: 9074 (31.7% of operations) * Throughput: 302.69 obj/s (29.986s, starting 20:44:57 CEST) Operation: DELETE * Operations: 3016 (10.5% of operations) * Throughput: 100.68 obj/s (29.976s, starting 20:44:57 CEST) Operation: PUT * Operations: 4501 (15.7% of operations) * Throughput: 128.18 MiB/s, 150.89 obj/s (29.973s, starting 20:44:57 CEST) Cluster Total: 501.15 MiB/s, 999.38 obj/s (28.691s, starting 20:44:57 CEST) ```
- Loading branch information