Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
This script is wrong, calling defer_fn with a time of 0 isn't doing what you think it is. You are just deferring the code until the event loop has nothing else to do. During startup this means that everything you deferred will be execute prior to the editor being usable but after the execution of all other code. It would be equivalent to schedule_wrap. The reason your benchmarking is being improved isn't because your editor is opening any faster, it's just being you are circumventing what the benchmarking is looking at. Your true startup time is longer than you think it is.
wow, insightful points, you are so professional! do you mind taking a look at my nvim config? i wanna to improve it for better startup speed and finer structure, but have no direction right now.
Alright. I fixed the first script. I moved it here. I borrowed it from wincent, and modified it a little bit.
Wow! Finally got my Commodore to start neovim in 150 minutes! Check it out guys: https://github.com/my-cool-nvim-conf/SolarVim