Module:JoiningPerf

There are no reviewed versions of this page, so it may not have been checked for adherence to standards.

Documentation for this module may be created at Module:JoiningPerf/doc

p = {};

function p.test( frame )
local t1 = os.time()

local s
for i =1,50000 do
   s = i .. 'aaaaa' .. 'bbbbb' .. 'ccccc' .. 'ddddd' .. i
end
local t2 = os.time();

return os.difftime( t2, t1 )
end

return p