bamthomas / aioimaplib

Python asyncio IMAP4rev1 client library
GNU General Public License v3.0
135 stars 58 forks source link

Speed of aioimaplib #74

Closed grinchify closed 2 years ago

grinchify commented 2 years ago

Sorry, this isnt really an issue but could not find any where to ask this. How fast is aiomaplib compared to the standard imaplib? How fast would aioimaplib be able to scrape (get the content of) lets say, 100,000 emails?

bamthomas commented 2 years ago

hmm good question. We haven't done any benchmarks. Theoretically, it should perform better to standard because it would benefit from asyncio : there would be a kind of parallelization when an async imap command is waiting for an answer it won't block. Most of the commands are async.

I don't know if since we built this lib there are others async imap lib, but I'd say that if you do multiprocessor instances with async, it should be the best standard way (without C bindings or other tweaks).

Then if you want to go faster, you can use Rust, C, Java...