Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 541 Bytes

performances_over_time.md

File metadata and controls

36 lines (27 loc) · 541 Bytes

Performances over time

This exact snippet have been run at different dates and times:

g = 4
local t = {v = 1}
local function f(p1,p2)
	p1 = p2
end
local function Test()
	for i = 1,1000000 do
		t.v = f(g, t.v)
		g = f(t.v, g)
	end
end

local start_time = os.time()
Test()
local total_time = os.time() - start_time
print("taken: " .. tostring(total_time) .. "ms")

2023-01-17 04:18 (version 740)

taken: 836

taken: 822

taken: 816

2023-01-17 15:21 (version 740)

taken: 729

taken: 749

taken: 725