[erlang-questions] enif_consume_timeslice performances
Sat Jan 14 14:00:35 CET 2017
What do you call a "performance"?
Do you measure throughput on thousands of simultaneous connections? Or you
measure throughput on 2-3 simultaneous connections?
How do you simulate network drops?
On Thu, Jan 12, 2017 at 11:30 PM, Caragea Silviu <>
> I'm working on a TLS/DTLS library in top of BoringSSL/OpenSSL and gen_tcp.
> My goal is to have a interface compatible as much as I can with erlang ssl
> Project is located here: https://github.com/silviucpp/erltls and overall
> so far I have better performances results than ssl module. around 33 % on
> OSX and 18 % on ubuntu when using ssl as client for sending the requests
> (when using erltls as client boost is even more for example on mac around
> 60 %)
> To measure the performances I'm using : https://github.com/silviucpp/
> During testing I observed that when using enif_consume_timeslice I have a
> drop off in performances for around 15 %. It's calling this method too
> heavy ? or the processes are suspended/resumed to many times and this
> affects the results?
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions