From c3cec6c8cd20c319c291431fbec55f1d1d596c6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Sun, 16 Aug 2020 01:58:46 +0800 Subject: =?UTF-8?q?=E9=99=90=E5=88=B6=E5=9B=9E=E7=9C=8B=E5=B1=82=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script-beta/provider/diagnostic.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'script-beta/provider/diagnostic.lua') diff --git a/script-beta/provider/diagnostic.lua b/script-beta/provider/diagnostic.lua index 34cec966..9e1ae0d1 100644 --- a/script-beta/provider/diagnostic.lua +++ b/script-beta/provider/diagnostic.lua @@ -205,14 +205,15 @@ function m.refresh(uri) end function m.diagnosticsAll() + local clock = os.clock() for uri in files.eachFile() do m.doDiagnostic(uri) end + log.debug('全文诊断耗时:', os.clock() - clock) end function m.start() m._start = true - m.diagnosticsAll() end -- cgit v1.2.3