Skip to content

I think add up result from benchmark would be nice ! #25

Description

@thetrung

I test with this Luavm, Lua 5.4 and LuaJIT :

        ./run.py -b ./benchmarks/fib.lua -n 2
        
        Running luavm on ./benchmarks/fib.lua
        Mean: 1.837, Std.Dev: 0.046, Margin of error: 0.08378932514348113
        
        Running lua on ./benchmarks/fib.lua
        Mean: 0.073, Std.Dev: 0.005, Margin of error: 0.009107535341682732
        
        Running luajit on ./benchmarks/fib.lua
        Mean: 0.011, Std.Dev: 0.0, Margin of error: 0.0
        
        &$1.8370 \scriptstyle \pm \small{0.0838}$ &$0.0730 \scriptstyle \pm \small{0.0091}$ &$0.0110 \scriptstyle \pm \small{0.0000}$ \\

I actually feel your implementation was pretty nice, but don't know why it's 25X slower than Lua5.4 👍
Does that mean Rust is slower than pure C ? No ?

Anyway, I'm happy to found you guys's work while thinking about a VM in Rust.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions