Open malvidin opened 4 years ago
Thanks, @malvidin. Do you have any stats on the performance improvements for these changes? Theoretically I can see them being more performant, but I'd much rather know for sure before adding additional complexity.
They are not more performant when compared directly to the non-blocking version when nothing else is running. I will try to get some tests done against multiple samples, instead of just testing the single functions.
I have been trying to get a single stoq run
command to use all the cores, but so far I have not been successful.
We have not forgotten about this pull request. Our apologies for the delay, but we are reviewing this as time permits.
Close/reopen to force rebuild
For large files, the entropy, hashing , and base64 decoding would block. By adding an asyncio sleep after every 16MB, this blocking should be reduced.