[erlang-questions] [ANN] snmp_collector

Vance Shipley vances@REDACTED
Mon Sep 23 16:29:59 CEST 2019


We did reuse the snmp application's implementation at first but profiling
showed us that 98% of the total time was spent doing the one million
iterations required to generate a hash and was taking over 100ms each time.
Moving to a NIF on the same hardware reduced it to less than 10ms.


On Mon, Sep 23, 2019, 10:23 PM Max Lapshin <max.lapshin@REDACTED> wrote:

> Why do you need to write  nif here?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20190923/69e8573c/attachment.htm>


More information about the erlang-questions mailing list