summaryrefslogtreecommitdiff
path: root/server/src/method/textDocument/implementation.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/method/textDocument/implementation.lua')
-rw-r--r--server/src/method/textDocument/implementation.lua5
1 files changed, 0 insertions, 5 deletions
diff --git a/server/src/method/textDocument/implementation.lua b/server/src/method/textDocument/implementation.lua
index 5ae22c6b..c0a37830 100644
--- a/server/src/method/textDocument/implementation.lua
+++ b/server/src/method/textDocument/implementation.lua
@@ -2,7 +2,6 @@ local parser = require 'parser'
local matcher = require 'matcher'
return function (lsp, params)
- local start_clock = os.clock()
local uri = params.textDocument.uri
local results, lines = lsp:loadText(uri)
if not results then
@@ -37,10 +36,6 @@ return function (lsp, params)
end
local response = locations
- local passed_clock = os.clock() - start_clock
- if passed_clock >= 0.01 then
- log.warn(('[Goto Implementation] takes [%.3f] sec, size [%s] bits.'):format(passed_clock, #lines.buf))
- end
return response
end