-
Notifications
You must be signed in to change notification settings - Fork 2
Poor code quality #3
Comments
"A friend is someone who has seen your code and still loves you." 😉 |
Alright, I had a go at modularising the code to make it easier to re-use:
Let me know if I've missed anything. :) Complete overkill for a benchmark script, of course, but I needed a sense of achievement to unwind from upgrading legacy computer systems at work today. 😅 |
Uh, I love it! I almost forgot about this repository. xD Yes, your code looks a lot nicer. Especially with the borg 1.1 or 1.2 release, I'd like to re-run the benchmark. There had been various updates to the hashing and IO code. And maybe write down some conclusions that can be backed up by numbers. Like 'Do not go too crazy with chunking as RAM will explode' or 'LZMA,* is only worth it on extremely slow network links. Anyhow… please feel free to replace the link on the borg community repository. Once I get around to play with it, I'll send a PR with updated benchmark data. :) |
The python code was written when I was starting to learn python. It has very poor quality. I should rewrite these simple scripts!
The text was updated successfully, but these errors were encountered: