2022-07-12 18:40:04 +03:00
|
|
|
--An attempt to profile the speed of TweenService:GetValue
|
2022-01-18 02:36:42 +02:00
|
|
|
local TweenService = game:GetService("TweenService")
|
|
|
|
local clock = os.clock
|
|
|
|
local first = clock()
|
|
|
|
for i = 1, 500 do
|
|
|
|
local alpha = TweenService:GetValue(20/6, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut)
|
|
|
|
end
|
|
|
|
local second = clock()
|
|
|
|
print(second-first)
|