Git Product home page Git Product logo

Comments (11)

W-i-n-7 avatar W-i-n-7 commented on July 23, 2024

its very slow with over 5000 files
and it affects on LAN too

from hfs.

W-i-n-7 avatar W-i-n-7 commented on July 23, 2024

opening multiple tabs slows down the other uploads

from hfs.

rejetto avatar rejetto commented on July 23, 2024

i tried to reproduce this problem, but maybe my computer is too fast (m1 pro).
I even tried artificially slowing down with Chrome
image

still i could get over 200MB/s on a single large file, even with over 5k files in queue.
Can you still replicate the problem?
The easiest way to try is to "pick folder" and select a big one. You can do it multiple times, doesn't matter the files are duplicate.

I suspect the problem is not with the list in itself, but with its update on the screen. So, my idea is to not show all the items, but cut at 500.

from hfs.

W-i-n-7 avatar W-i-n-7 commented on July 23, 2024

my pc is very fast aswell could be even faster than yours am not sure (i5-13400f)
the issue is with uploading multiple small files it takes an age to get to the next file that completes instantly due to it being so small
so 90% of the time uploading is spent waiting for the next file to start uploading while theres multiple in queue

from hfs.

W-i-n-7 avatar W-i-n-7 commented on July 23, 2024

i tried to reproduce this problem, but maybe my computer is too fast (m1 pro). I even tried artificially slowing down with Chrome image

still i could get over 200MB/s on a single large file, even with over 5k files in queue. Can you still replicate the problem? The easiest way to try is to "pick folder" and select a big one. You can do it multiple times, doesn't matter the files are duplicate.

I suspect the problem is not with the list in itself, but with its update on the screen. So, my idea is to not show all the items, but cut at 500.

https://hdun.org/random/hfs_upload_issues.mp4

from hfs.

rejetto avatar rejetto commented on July 23, 2024

ah yes, you got files that are exceptionally small, 10 bytes each.
There's no decent way at the moment to get good performances.
Of course you may zip them before uploading.
I think I can add an "unzip" command without much effort. It could be available if you have upload permission.
Anyway, I also devised an optimization that should improve things already.
Let's see how faster you can get
0.52-beta6.2

from hfs.

rejetto avatar rejetto commented on July 23, 2024

ok, i made a test myself.
we are passing from a performance index of 7 to 44 with the version above, but then i've managed to improve my technique and reach 75.
To my surprise, the main slowing factor was repainting of the list.

from hfs.

W-i-n-7 avatar W-i-n-7 commented on July 23, 2024

from hfs.

rejetto avatar rejetto commented on July 23, 2024

something like that

from hfs.

W-i-n-7 avatar W-i-n-7 commented on July 23, 2024

from hfs.

rejetto avatar rejetto commented on July 23, 2024

that's roughly what i did

from hfs.

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.