GithubHelp home page GithubHelp logo

Slow Startup Time. about gruvbox.nvim HOT 5 CLOSED

ellisonleao avatar ellisonleao commented on June 6, 2024
Slow Startup Time.

from gruvbox.nvim.

Comments (5)

ellisonleao avatar ellisonleao commented on June 6, 2024 1

@marcelarie lua modules are loaded differently, you can't measure the right startup time using this plugin, unfortunately.

from gruvbox.nvim.

ellisonleao avatar ellisonleao commented on June 6, 2024

hey @marcelarie how are you getting those numbers?

from gruvbox.nvim.

marcelarie avatar marcelarie commented on June 6, 2024

I don't know really, they aren't normal right?
I'm using dstein64/vim-startuptime

from gruvbox.nvim.

marcelarie avatar marcelarie commented on June 6, 2024

Then that's why, Thank you!!

from gruvbox.nvim.

gravndal avatar gravndal commented on June 6, 2024

I'm seeing similar results running the following in my shell:

time for i in (seq 1000)
    nvim -c ':quit'
end

Default colorscheme (with the rest of my configuration unchanged):

________________________________________________________
Executed in  104.60 secs    fish           external
   usr time   74.60 secs  124.05 millis   74.47 secs
   sys time   20.18 secs  367.65 millis   19.81 secs

vim-gruvbox8:

________________________________________________________
Executed in  107.28 secs    fish           external
   usr time   76.67 secs  131.01 millis   76.53 secs
   sys time   21.06 secs  382.06 millis   20.68 secs

vim-gruvbox8 with let g:gruvbox_filetype_hi_groups = 1:

________________________________________________________
Executed in  108.97 secs    fish           external
   usr time   77.96 secs   97.95 millis   77.86 secs
   sys time   21.33 secs  384.21 millis   20.94 secs

gruvbox.nvim:

________________________________________________________
Executed in  125.75 secs    fish           external
   usr time   89.46 secs   92.28 millis   89.37 secs
   sys time   26.62 secs  416.94 millis   26.20 secs

Which honestly isn't that noticeable a difference on top of everything else, it only adds up to about a frame a 60hz. Still every little bit counts.

A clean vim for comparison:

________________________________________________________
Executed in   13.15 secs    fish           external
   usr time   10.12 secs   69.48 millis   10.05 secs
   sys time    3.01 secs  322.10 millis    2.69 secs

from gruvbox.nvim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.