JIT status: how to introspect

Dan Gudmundsson dgud@REDACTED
Wed Feb 24 18:57:31 CET 2021

All code is jit-compiled, so there is nothing to check.

The jit helps sequentiell code only, if that is not your bottleneck you
will not see any speedup.
as if your current code uses a lot of bif's/nif's and message passing.
And I guess there is still minor stuff that can be improved.

On Wed, Feb 24, 2021 at 6:01 PM Max Lapshin <max.lapshin@REDACTED> wrote:

> Hi.
> I've tried to launch our flussonic under jit.
> Thank you a lot for this work.  We got zero speedup, but perf top have
> showed where we can achieve up to 20% of boost (or maybe more).
> Is it possible to introspect current jit status?  Something like:
> > jit:info().
> #{
>   calls => ...
>    misses => ...
>    ...
> }
> or what do you use to check it in runtime?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20210224/c40651ff/attachment.htm>

More information about the erlang-questions mailing list