kzemek / etls

An alternative NIF-based implementation of Erlang ssl module.
Other
36 stars 2 forks source link

Bench with OpenSSL 1.1.0 #4

Open gpongelli opened 7 years ago

gpongelli commented 7 years ago

Hi Konrad, your benchmark for etls is very interesting!

Could you add Openssl 1.1.0 to that bench ? As you can see, seems that 1.1.0 will not have CRYPTO_*_{un}lock in favor of CRYPTO_THREAD_*_{un}lock .

Thank you!

kzemek commented 7 years ago

Compiling with OpenSSL 1.1.0 requires a few changes in the Asio code. I'll be looking into it soon(ish).

kzemek commented 7 years ago

I've done some preliminary benchmarks and it looks like 1.1.0 is on par with BoringSSL. I've also tested with 1.0.2h which seemed to achieve about 66% of their performance (which was a much better result than I anticipated).

I will follow up with more reproducible and longer tests on my main machine, as I'm seeing a high degree of variance in my VM.

gpongelli commented 7 years ago

Tank you for the upgrade ;)

Eng. Gabriele Pongelli