= There wasn't really any point in trying to split the interfaces all the way up to the top level - this is a game; it is inevitable that some object data will change and some will stay the same
9 lines
No EOL
322 B
Lua
9 lines
No EOL
322 B
Lua
--An attempt to profile the speed of TweenService:GetValue
|
|
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) |