Elektrine lite

← Feed

@jbarop@chaos.social

Post #1646915

2026-04-19 17:15 UTC

@loke Try running it with -Xint which disables the JIT compiler and check if you get consistent results. If both functions then take equally long, the JIT is confirmed as the cause.

Replies (2)

  • @jbarop@chaos.social 2026-04-19 17:27

    @loke You can also look for "made not entrant" in the JIT log. It means a compiled version was invalidated and the hot method falls back to the interpreter.

    Open ##1646916

  • @loke@functional.cafe 2026-04-20 02:58

    @jbarop I can confirm that with the compiler turned off, the numbers are very consistent. Much slower for sure (about 150 times slower), but just as consistent as they are when using the JS and native backends.

    Open ##1646917