3 ms·
Here are some more realistic examples utilizing the official HN API. The async version is about 30 times faster than the sync version when you set the total to
by gabrielsroka 5y ago
Here are some more realistic examples utilizing the official HN API. The async version is about 30 times faster than the sync version when you set the total to a high number, the maximum is about 500. Performance tables are in the code itself.
https://github.com/gabrielsroka/hn https://github.com/gabrielsroka/hn
See also https://news.ycombinator.com/item?id=30172433 https://news.ycombinator.com/item?id=30172433