Giter Club home page Giter Club logo

Comments (1)

virtualzone avatar virtualzone commented on May 29, 2024

Hi @chrkuznos1,
version 0.7 adds a parameter to control the upload range size. I've run several tests using a 15 MB file:

$ time build/onedrive-uploader_macos_amd64_v0.7.0 -c ./config.json -u 320 upload /tmp/random15.bin /
Uploading random15.bin...      100% |████████████████████| (15/15 MB, 255 kB/s)               
build/onedrive-uploader_macos_amd64_v0.7.0 -c ./config.json -u   0.76s user 1.03s system 2% cpu 1:00.47 total

$ time build/onedrive-uploader_macos_amd64_v0.7.0 -c ./config.json -u 9600 upload /tmp/random15.bin /
Uploading random15.bin...      100% |████████████████████| (15/15 MB, 308 kB/s)               
build/onedrive-uploader_macos_amd64_v0.7.0 -c ./config.json -u   0.72s user 1.00s system 3% cpu 50.537 total

$ time build/onedrive-uploader_macos_amd64_v0.7.0 -c ./config.json -u 32000 upload /tmp/random15.bin /
Uploading random15.bin...      100% |████████████████████| (15/15 MB, 308 kB/s)               
build/onedrive-uploader_macos_amd64_v0.7.0 -c ./config.json -u   0.74s user 1.08s system 3% cpu 50.500 total

As you can see, choosing a higher range size than the default setting of 9,600 KB (320 * 30) didn't make much of difference in my test. However, you could try to change this parameter and check if your upload procedure gets faster.

from onedrive-uploader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.