mirror of https://github.com/rxi/json.lua.git
Fixed indentation in benchmark util script
parent
ced32bd221
commit
d1ebba043c
|
@ -13,7 +13,7 @@ function bench.run(name, count, func)
|
|||
table.insert(res, (os.clock() - start_time))
|
||||
end
|
||||
-- Calculate average
|
||||
local avg = 0
|
||||
local avg = 0
|
||||
for i, v in ipairs(res) do
|
||||
avg = avg + v
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue