Lua and Neko Performances Comparison


Hello World

Each application was tested 1000 times.
Average
(ms)
Fatest
(ms)
Slowest
(ms)
stdout Src
lines
exe/script
size (bytes)
Type Compile
time (ms)
Compiler
Interpreter
Lua (Interpreted) 16.246 15.894 21.167 stdout 2 22 Interpreted - infos
Lua (Pre-compiled) 16.128 15.888 19.892 stdout 1 112 Pré-Compiled 27.693 infos
Neko (Pre-compiled) 20.685 20.235 27.269 stdout 1 66 Pré-Compiled 295.012 infos

Graphics sorted from best to worse
Average execution time
(ms)
Lua 16.13
Lua 16.25
Neko 20.69
Exe/script
size(bytes)
Lua 22
Neko 66
Lua 112
Compile time
(ms)
Lua 28
Neko 295
Lua-
Src lines
count
Neko 1
Lua 1
Lua 2
Red/Green = Column Min/Max


Fibonacci numbers

Each application was tested 200 times.
Average
(ms)
Fatest
(ms)
Slowest
(ms)
stdout Src
lines
exe/script
size (bytes)
Type Compile
time (ms)
Compiler
Interpreter
Lua (Pre-compiled) 1250.424 1245.430 1278.204 stdout 7 310 Pré-Compiled 28.288 infos
Neko (Pre-compiled) 304.309 301.609 310.375 stdout 7 140 Pré-Compiled 342.388 infos

Graphics sorted from best to worse
Average execution time
(ms)
Neko 304.31
Lua 1250.42
Exe/script
size(bytes)
Neko 140
Lua 310
Compile time
(ms)
Lua 28
Neko 342
Src lines
count
Neko 7
Lua 7
Red/Green = Column Min/Max





B-X M.