All Lua benchmarks

Current benchmark data was generated on Sat Nov 27 2021, full log can be found HERE

CONTRIBUTIONS are WELCOME!

binarytrees

Input: 18

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
4.lua 3162ms 3.7ms 129.0MB 5547ms 333ms luajit 2.1.0-beta3

Input: 14

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
4.lua 194ms 3.3ms 10.6MB 287ms 27ms luajit 2.1.0-beta3
4.lua 356ms 1.7ms 9.1MB 610ms 23ms lua 5.4.3

helloworld

Input: QwQ

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.lua 2.7ms 0.8ms 2.2MB 0ms 0ms luajit 2.1.0-beta3
1.lua 2.7ms 0.7ms 1.3MB 0ms 0ms lua 5.4.3

nbody

Input: 5000000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
4.lua 1111ms 13ms 2.6MB 1103ms 0ms luajit 2.1.0-beta3

Input: 500000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
4.lua 114ms 0.8ms 2.5MB 103ms 0ms luajit 2.1.0-beta3
4.lua 1157ms 23ms 1.3MB 1147ms 0ms lua 5.4.3

Input: 100000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
4.lua 26ms 2.2ms 2.5MB 20ms 0ms luajit 2.1.0-beta3
4.lua 250ms 19ms 1.3MB 237ms 0ms lua 5.4.3

spectral-norm

Input: 4000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.lua 1403ms 0.9ms 2.5MB 1393ms 0ms luajit 2.1.0-beta3

Input: 1000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.lua 92ms 1.8ms 2.5MB 80ms 0ms luajit 2.1.0-beta3
1.lua 2253ms 23ms 1.3MB 2243ms 0ms lua 5.4.3