your-tools / pycp

cp and mv with a progress bar
MIT License
147 stars 8 forks source link

pycp is slow #20

Closed dmerejkowsky closed 6 years ago

dmerejkowsky commented 6 years ago

version 8 is slower than 7, which is slower than cp, and not by a small margin.

Ideas:

But first we need to do some serious benchmarking ...

dmerejkowsky commented 6 years ago

22 contains the first two ideas.

I'm more or less convinced using async stuff wo't help.

Let's keep the 'rewrite in rust' idea for later

dmerejkowsky commented 6 years ago

Implementing output throttle now makes pycp 8 faster than pycp 7

Let's say we're done now :)

dmerejkowsky commented 6 years ago

I'm wondering if throttling the output is enough, but it was fun playing with multiple processes