Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] Optimise TorrentCreator performance #544

Merged
merged 1 commit into from
Jul 3, 2022

Conversation

alanmcgovern
Copy link
Owner

Use some fancier threading here to ensure disk IO happens in
parallel with hashing data. This allows the creator to create a
V1/V2 hybrid torrent with a 2.6GB input file in approximately
6.2 seconds seconds instead of 9-12 seconds.

@alanmcgovern alanmcgovern force-pushed the faster-torrent-creator branch from 044fd98 to c539bc7 Compare July 3, 2022 10:09
Use some fancier threading here to ensure disk IO happens in
parallel with hashing data.
@alanmcgovern alanmcgovern force-pushed the faster-torrent-creator branch from c539bc7 to e30b8bf Compare July 3, 2022 14:54
@alanmcgovern alanmcgovern merged commit 7ccfa96 into master Jul 3, 2022
@alanmcgovern alanmcgovern deleted the faster-torrent-creator branch July 3, 2022 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant