etcimon / libasync

Cross-platform event loop library of asynchronous objects
MIT License
147 stars 30 forks source link

Benchmark #96

Open Imperatorn opened 1 year ago

Imperatorn commented 1 year ago

Hi, nice library!

Have you done any benchmarks of it?

Thanks

etcimon commented 1 year ago

Hello,

Yes, it's a little slower than openssl on private keys due to better optimized montgomery operations, for servers it would be faster when linking with openssl (use the build variation). Otherwise, I haven't noticed nor benchmarked it

Thanks

etcimon commented 1 year ago

Sorry, I thought you were commenting on another library. I've never benchmarked this library unfortunately, but it's very barebone so I assume it would be quite fast. I was using it in production with https://github.com/etcimon/vibe.0

etcimon commented 1 year ago

Someone contributed a benchmark if you'd like to compare req/s on your own machine

https://github.com/etcimon/libasync/tree/master/tests/http_request_benchmark