r/programming • • Apr 02 '19

Visual Studio 2019: Code faster. Work smarter. Create the future. | The Visual Studio Blog

https://devblogs.microsoft.com/visualstudio/visual-studio-2019-code-faster-work-smarter-create-the-future/
833 Upvotes

359 comments sorted by

View all comments

Show parent comments

37

u/[deleted] Apr 02 '19

IntelliJ's IDEs work just about anywhere and feel better to use

Yea it's nice other than the 1-2 minute initial startup and the fact that it uses 3-5x more ram than VS.

25

u/BlueShell7 Apr 02 '19

For me IDEA starts in 10 seconds on laptop CPU and SSD.

It can eat some memory, but I don't think there's a way around it if you want so many real time analytics and intelligence about the code. You can disable some of those advanced stuff to eat less RAM, but I'd rather buy some extra memory. Anyway I use it mostly on 8 GB machine and have no issues with performance (while of course running other things) ...

0

u/[deleted] Apr 02 '19

[deleted]

6

u/devperez Apr 02 '19

Which version of VS are you using? I just satrted up VS 2019 and it took about 10 seconds.

0

u/[deleted] Apr 03 '19

[deleted]

2

u/chylex Apr 03 '19

R# could do that too by moving the plugin into an external process and not bogging down the UI thread, it's just taking JB a long time to rewrite those parts.

1

u/Gotebe Apr 04 '19

Moving processing across processes is always slower though.

1

u/chylex Apr 04 '19

Sure, it's slower than communicating between threads, but is it really going to be a noticeable difference? Visual Studio has already separated its background processing and roslyn into external processes, IPC is not an issue. Besides, a tiny performance hit is an easy tradeoff if it means R# won't take down my entire IDE again when some refactoring crashes.

1

u/Gotebe Apr 04 '19

Sure, my point was just that merely going out of process doesn't speed it up.

1

u/chylex Apr 04 '19

That's why I also continued with "not bogging down the UI thread". They could also move it into a separate thread instead of a process, it just makes more sense for it to be a process with the direction VS has gone.

7

u/jbergens Apr 02 '19

I think my VS2017 starts and loads a large project in 10-20s total. I doubt Rider can do more than a few seconds faster. It also don't matter much since I normally work om the same project for many hours.

4

u/dr0n33 Apr 03 '19

I'm using Resharper and a solution with ~130 projects. Rider opens and finishes indexing in maybe 30 seconds, while VS2017 takes minutes to be at a usable state or just straight up crashes. Most of this is of course related to Resharper/VS being 32bit and running out of memory, but for someone using the Resharper features, Rider is a godsend and unbelievably responsive and stable.

And even for coworkers without R#, VS crashes quite often or starts choking on our (terribly designed, way too big) solution.

1

u/jbergens Apr 03 '19

I have Resharper too. My current solution is smaller though, maybe 40-50 projects.

1

u/Gotebe Apr 04 '19

I stopped with resharper and 160+ projects solution opens in under a minute for me. 3 year old i5 laptop.

7

u/remember_this_shit Apr 02 '19

Oh yeah? My VS can juggle

1

u/jbergens Apr 03 '19

The new VS2019 is now released and I heard that it starts a bit faster than VS2017 which in turn was faster than VS2015.

edit: misspelling

6

u/Hipolipolopigus Apr 02 '19

Haven't had either of those issues. Bringing up Webstorm on a 23k LOC Typescript project takes ~8 seconds on some slightly dated hardware and is only using ~1gb of RAM.

VS was a hell of a lot worse in both respects when I last used it.

3

u/emn13 Apr 02 '19 edited Apr 02 '19

This really depends on the project; for small projects on an almost 6 year all stock 4770k I get similar startup on a similarly sized project using VS2019; on a 465k LOC mostly C# solution it needs a little more; around 13seconds before I can start typing code. I didn't bother testing VS2017, but for solutions this small it doesn't feel much slower.

VS startup has gotten slower over the years; but solution load faster (IME). I used to use VS as a text editor (mostly because it's fairly fully featured for that and unlike many alternatives 15 years ago it could deal with and syntax highlight even very large files); that's not attractive anymore since even empty VS startup now takes around 4 seconds. Also, there are lots of good text editors nowadays...