Skip to content
This repository was archived by the owner on Jun 1, 2021. It is now read-only.

Commit fc89ef1

Browse files
committed
fix loop variable
1 parent f813f36 commit fc89ef1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

perf/encode_perf.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ for name,do_xor in pairs(tests) do
1414
print(name)
1515
local n = 1000000
1616
local t1 = socket.gettime()
17-
for i=1,100000 do
17+
for i=1,n do
1818
encode(s,TEXT,do_xor)
1919
end
2020
local dt = socket.gettime() - t1

0 commit comments

Comments
 (0)