dropbox / dbxcli

A command line client for Dropbox built using the Go SDK
Other
1.05k stars 100 forks source link

Use concurrent upload session in put cmd #170

Closed rajatgoel closed 3 years ago

rajatgoel commented 3 years ago

With a single worker -

dbxcli put ~/Desktop/VSCode-darwin-universal.zip -w=1 uni.zip
Uploading 172 MiB/172 MiB

real    0m27.713s
user    0m0.716s
sys 0m1.206s

With 4 workers -

dbxcli put ~/Desktop/VSCode-darwin-universal.zip -w=4 uni.zip
Uploading 172 MiB/172 MiB

real    0m14.128s
user    0m0.571s
sys 0m0.889s

The impact will be more visible on larger files.

rajatgoel commented 2 years ago

Are you compiling dbxcli from source? I don't think we have had any release since adding this feature.

arayiksmbatyan commented 2 years ago

I use the 3.0.0 version and have the same issue.

dropbox-issue