aboutsummaryrefslogtreecommitdiff
path: root/test/benchmark/iter_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/benchmark/iter_spec.lua')
-rw-r--r--test/benchmark/iter_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/benchmark/iter_spec.lua b/test/benchmark/iter_spec.lua
index 8d77054e83..d176079997 100644
--- a/test/benchmark/iter_spec.lua
+++ b/test/benchmark/iter_spec.lua
@@ -35,9 +35,9 @@ describe('vim.iter perf', function()
local stats = {}
local result
for _ = 1, N do
- local tic = vim.loop.hrtime()
+ local tic = vim.uv.hrtime()
result = f(input)
- local toc = vim.loop.hrtime()
+ local toc = vim.uv.hrtime()
stats[#stats + 1] = (toc - tic) / 1000000
end
table.sort(stats)