summaryrefslogtreecommitdiff
path: root/scratch/how_long_does_time_take.lua
diff options
context:
space:
mode:
authorTJ DeVries <devries.timothyj@gmail.com>2021-08-20 11:11:24 -0400
committerGitHub <noreply@github.com>2021-08-20 11:11:24 -0400
commita97af306c4e9c9a6fa7c886c0ffe3079822c5203 (patch)
treef5e2b50a767e93618d0d8fdddb8a964c90633c8a /scratch/how_long_does_time_take.lua
parentd6d28dbe324de9826a579155076873888169ba0f (diff)
feat(performance): Major performance improvements using async v2 from @oberblastmeister (#987)
* start: Working w/ async jobs * short circuit to using bad finder if you pass writer.
Diffstat (limited to 'scratch/how_long_does_time_take.lua')
-rw-r--r--scratch/how_long_does_time_take.lua8
1 files changed, 0 insertions, 8 deletions
diff --git a/scratch/how_long_does_time_take.lua b/scratch/how_long_does_time_take.lua
deleted file mode 100644
index a77e47b..0000000
--- a/scratch/how_long_does_time_take.lua
+++ /dev/null
@@ -1,8 +0,0 @@
-local start = vim.loop.hrtime()
-
-local counts = 1e6
-for _ = 1, counts do
- local _ = vim.loop.hrtime()
-end
-
-print(counts, ":", (vim.loop.hrtime() - start) / 1e9)