3

How fast is vscode in Linux? I'm irritated with time it takes to start my complete dev environment in windows.?
nodejs + mongodb + vscode + chrome + studio3t
So you see I've to start 2 electron based apps and chrome. Node js takes its fare time to start the first script.

Comments
  • 4
    Then maybe its time to not use.chrome and invest in a better PC.
    On none of my PCs ive noticed a difference between win and linux for vs code.

    Both run within half a second.
  • 2
    @Codex404 Well you're right at the part that I need better PC but I can't do that right now that's why trying to find better alternatives.
  • 2
    All I’m seeing here is more ram needed.

    You could swap chrome for Firefox but that won’t save you to much.

    VsCode, if you remove unused plugins or actually take a look at what plugins you could go without, you could shave some resources there.

    But at the end of the day your in a high resource environment due to node, browsers, and the application your building will take its fair share as well.
  • 3
    Use something other than chrome or at least control your tabs don't open alot

    As for opening time on Linux I can't tell specs do play their role

    But if you are limited in ram and can't increase Linux will for sure less than windows that should help
  • 1
    Are you loading these things from solid state storage or a spinning platter?
  • 1
    I would recommend you to get a SSD first. If you are using any Electron based editor or Java based IDE, you definitely should switch to SSD. Minimum 8GB RAM, if you have only couple of tabs open in Chrome while developing, otherwise add more RAM.
  • 1
    @C0D4 I've 8GB ram but still using HDD. I've had Azure MongoDB plugin which took sometime to load. Removing that helped a bit. Using Firefox doesn't help much :( I guess I'll buy a SSD first.
  • 1
    @svgPhoenix it's spinning platter so I think that's the issue here.
  • 1
    @AnonymousDev I've already have 8GB ram but it's still a HDD. Will buy a SSD soon. It's bit costly though.
  • 1
    @shahidcodes if you can slap another 8GB in or even 4GB of RAM in, you’ll see benefits and will probably cost less then an SSD.

    An SSD will speed up the read/write times but won’t fix the lack of memory this setup wants.
  • 2
    @Codex404 @C0D4 @gitpush @svgPhoenix @FrodoSwaggins @AnonymousDev Thank you all for suggestions. I hope adding SSD will help.
  • 1
    @C0D4 Yeah but still the problem is with startup time. After that everything works smoothly. So do you think ram alone will help?
  • 1
    @shahidcodes once everything has started up , how much ram are you using?
  • 1
    @C0D4 I think around 1GB remains free after I started everything so I think out of 7(+1GB OS Reserved), 6GB is used.
  • 3
    @shahidcodes SSD will help for sure but ram also play it's role

    And don't buy cheap SSD go with Samsung Evo, I know it's expensive but on my laptop it is much faster than that lame Kingston I have at work, my Ubuntu VM runs faster than Ubuntu at work installed on ssd
  • 2
    @gitpush yeah Samsung Evo has good reviews.
  • 2
    @shahidcodes best of luck 😀
  • 2
  • 1
    @shahidcodes ouch, go for both.

    As @gitpush said, get a decent SSD to take the benefits properly.
  • 0
    @C0D4 Yup I wish Chrome/Firefox had everything from editor to running everything else in it. CloudIDE is probably good option too. Have you checked coder.com ?
  • 1
    @shahidcodes I don’t think I can handle chromes ram usage if it did everything 😂

    You might find MovaXterm interesting if you’re after an AIO

    https://mobaxterm.mobatek.net/

    CloudIdE isn’t to bad but I’m not a fan of cloud editors personally.

    I use to use CodeAnywhere for a while.
  • 1
    @C0D4 thanks for sharing mobax. I've been looking something like for mounting SFTP and editing easily.
  • 1
    @shahidcodes You can buy a less storage size SSD depending on your requirement just to put your OS and dev environment. I got a 128GB one, which does the job for me.

    To improve performance you can whitelist you code folders in your antivirus software. Depending on your antivirus software you can just whitelist your code from realtime checking.
  • 0
    @AnonymousDev unfortunately my laptop doesn't have a cd drive. So buying one with lesser storage is not an option.
  • 0
    @AnonymousDev whitelisting might help. I don't use any antivirus just windows defender/security.
  • 0
    It just occurred to me that if you're using an ad-blocking extension that isn't uBlock origin, you should swap. It uses a lot less RAM & CPU than the other options
  • 0
    @svgPhoenix it's already ublock bro
Add Comment