Login
You're viewing the ruby.social public feed.
  • Nov 12, 2026, 3:36 AM

    I have coerced the benchmark runner into running my .wasm modules and producing this nice graph as part of a nix build. Very strange to me that lua-5.5.1-wasm (the normal Lua interpreter) seems to often measure noticably faster than lua-5.5.1-wizer (a .wasm file running exactly the same interpreter, except the source code already loaded and compiled to bytecode, ready to be executed)

    Pushed what I've got so far (which is mostly nix code) to my forgejo: git.information-superhighway.n

    A colourful graph with "Elapsed time" on the Y axis running from 0 to 4.5 seconds, and an unlabeled X axis that corresponds to 13 benchmark programs run on 6 different Lua interpreters (lua-5.5.1-native, luajit-2.1, luajit-2.1-interp, lua-5.5.1-wasm, lua-5.5.1-wizer, lua-5.5.1-weval).
luajit-2.1 is the fastest on every benchmark, followed by luajit-2.1-interp and lua-5.5.1-native. lua-5.5.1-wasm / lua-5.5.1-wizer / lua-5.5.1-weval cluster around last place.
    💬 1🔄 0⭐ 0

Replies