Skip to content

Commit 2974bc0

Browse files
committed
feat: drop performance logging
1 parent ae4aeae commit 2974bc0

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lua/blink/cmp/cmp.lua

-6
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ M.select_prev = function(cmp_win)
7070
end
7171

7272
M.update = function(cmp_win, doc_win, items, opts)
73-
local start_time = vim.loop.hrtime()
74-
7573
local query = M.get_query()
7674

7775
-- get the items based on the user's query
@@ -133,10 +131,6 @@ M.update = function(cmp_win, doc_win, items, opts)
133131
end
134132

135133
M.filtered_items = filtered_items
136-
137-
local end_time = vim.loop.hrtime()
138-
local time_in_ms = (end_time - start_time) / 1e6
139-
print('Time taken to filter ' .. #items .. ' completions: ' .. time_in_ms .. 'ms')
140134
end
141135

142136
---------- UTILS ------------

0 commit comments

Comments
 (0)