From 3fd972facc6dfb859d71899309723243b7b93880 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 19 Nov 2018 17:48:40 +0800 Subject: =?UTF-8?q?=E5=87=8F=E5=B0=91=E6=97=A0=E7=94=A8=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lsp.lua | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/lsp.lua') diff --git a/src/lsp.lua b/src/lsp.lua index 563f7919..eeb4e560 100644 --- a/src/lsp.lua +++ b/src/lsp.lua @@ -59,10 +59,7 @@ function mt:_readAsContent(header) local id = res.id local method = res.method local params = res.params - log.debug(('执行任务[%s],ID[%s]'):format(method, id)) - local clock = os.clock() local response, err = self:_callback(method, params) - log.debug(('任务[%s]执行完毕,耗时[%.3f]秒,ID[%s]'):format(method, os.clock() - clock, id)) if response then self:_send { id = id, -- cgit v1.2.3