perf.lua: Adding pure Lua variants.