aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/swarm/swarm-smoke/main.go
diff options
context:
space:
mode:
authorholisticode <holistic.computing@gmail.com>2019-01-18 00:25:27 +0800
committerRafael Matias <rafael@skyle.net>2019-02-19 19:56:30 +0800
commit7383db4dace3679226215f1eb2b36c78ffb2b264 (patch)
tree26f1b0988e31b39e851a572adbaea36a8c236a0e /cmd/swarm/swarm-smoke/main.go
parentafb65f6ace9f319c2e4eb4d5d7dc4320c0dcaeea (diff)
downloadgo-tangerine-7383db4dace3679226215f1eb2b36c78ffb2b264.tar
go-tangerine-7383db4dace3679226215f1eb2b36c78ffb2b264.tar.gz
go-tangerine-7383db4dace3679226215f1eb2b36c78ffb2b264.tar.bz2
go-tangerine-7383db4dace3679226215f1eb2b36c78ffb2b264.tar.lz
go-tangerine-7383db4dace3679226215f1eb2b36c78ffb2b264.tar.xz
go-tangerine-7383db4dace3679226215f1eb2b36c78ffb2b264.tar.zst
go-tangerine-7383db4dace3679226215f1eb2b36c78ffb2b264.zip
Upload speed (#18442)
(cherry picked from commit 257bfff316e4efb8952fbeb67c91f86af579cb0a)
Diffstat (limited to 'cmd/swarm/swarm-smoke/main.go')
-rw-r--r--cmd/swarm/swarm-smoke/main.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmd/swarm/swarm-smoke/main.go b/cmd/swarm/swarm-smoke/main.go
index 66cecdc5c..f7f358ef1 100644
--- a/cmd/swarm/swarm-smoke/main.go
+++ b/cmd/swarm/swarm-smoke/main.go
@@ -148,6 +148,12 @@ func main() {
Usage: "feed update generate, upload and sync",
Action: cliFeedUploadAndSync,
},
+ {
+ Name: "upload_speed",
+ Aliases: []string{"u"},
+ Usage: "measure upload speed",
+ Action: cliUploadSpeed,
+ },
}
sort.Sort(cli.FlagsByName(app.Flags))