mirror of
https://github.com/Leonmmcoset/CMLeonOS.git
synced 2026-03-03 15:30:27 +00:00
软件管理器
This commit is contained in:
7
LuaApps/testspeed.lua
Normal file
7
LuaApps/testspeed.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
local loop = 100000000
|
||||
os.timerstart()
|
||||
for i = 1, loop do
|
||||
-- Nothing
|
||||
end
|
||||
cost = os.timerstop()
|
||||
print("Loop " .. loop .. ", cost " .. cost .. "s.")
|
||||
Reference in New Issue
Block a user