Down should be bigger as it's generally faster.
var iter = 10
func main() {
var iter = 10
func main() {
- upFlag := flag.Int64("up", 10, "number of MB for upload test")
- downFlag := flag.Int64("down", 1, "number of MB for download test")
+ upFlag := flag.Int64("up", 1, "number of MB for upload test")
+ downFlag := flag.Int64("down", 10, "number of MB for download test")
flag.Parse()
upBytes := Byte(*upFlag) * MiB
downBytes := Byte(*downFlag) * MiB
flag.Parse()
upBytes := Byte(*upFlag) * MiB
downBytes := Byte(*downFlag) * MiB