Skip to content

Commit 54698f6

Browse files
committed
Support for command args
1 parent d1b4c72 commit 54698f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

performance/bench.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ local function newPoint()
88
return Point(x * 1000, y * 1000)
99
end
1010

11-
local MAX_POINTS = 1e3
12-
local N_TESTS = 10
11+
local MAX_POINTS = arg[1] or 500
12+
local N_TESTS = arg[2] or 10
1313

1414
local function genPoints(n)
1515
local points = {}

0 commit comments

Comments
 (0)