1
0
mirror of https://github.com/gilbertchen/duplicacy synced 2025-12-15 15:53:26 +00:00

Use 1024*1024 as 1M as opposed to 10^6

This commit is contained in:
Gilbert Chen
2019-01-04 13:29:30 -05:00
parent bb652d0a8c
commit e6d8b7d070

View File

@@ -1309,7 +1309,7 @@ func benchmark(context *cli.Context) {
if storage == nil { if storage == nil {
return return
} }
duplicacy.Benchmark(repository, storage, int64(fileSize) * 1000000, chunkSize * 1024 * 1024, chunkCount, uploadThreads, downloadThreads) duplicacy.Benchmark(repository, storage, int64(fileSize) * 1024 * 1024, chunkSize * 1024 * 1024, chunkCount, uploadThreads, downloadThreads)
} }
func main() { func main() {