summaryrefslogtreecommitdiff
path: root/test/full/self.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-06-11 18:43:13 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-06-11 18:43:13 +0800
commit710ca85aebe3b761e8f03462651ba8ecf629518a (patch)
tree48565c777be10496275357f0cd6a0701bef27ef9 /test/full/self.lua
parent650af818eb185d3261648cac615e9f8ce99b0d50 (diff)
downloadlua-language-server-710ca85aebe3b761e8f03462651ba8ecf629518a.zip
stash
Diffstat (limited to 'test/full/self.lua')
-rw-r--r--test/full/self.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/full/self.lua b/test/full/self.lua
index 5b1b2514..9a26cb04 100644
--- a/test/full/self.lua
+++ b/test/full/self.lua
@@ -22,7 +22,9 @@ diag.start()
local clock = os.clock()
for uri in files.eachFile() do
+ local fileClock = os.clock()
diag.doDiagnostic(uri)
+ print('诊断文件耗时:', os.clock() - fileClock, uri)
end
local passed = os.clock() - clock