News for hackers. Stuff that matters.
Re:VS Code uses 13% CPU when idle due to blinking cursor ren... by randiantech on Thursday March 23, 2017 @11:32AM (#13940631)
VS Code IS a viable option. I use it daily basis and works great.
Re:VS Code uses 13% CPU when idle due to blinking cursor ren... by YCode on Thursday March 23, 2017 @11:36AM (#13940681)
Seriously, coming from Visual Studio VSCode is a breeze of fresh performant air.

Anecdotally I was able to create the cursor problem by minimizing/showing the VSCode window while viewing CPU usage DESC in task manager, but the effect was only ~2% usage for me (i7 processor).

If one invisible (from a UX perspective) bug is VSCode's big performance problem then I'll gladly let it eat away at 2% of my CPU until it's fixed.

Re:VS Code uses 13% CPU when idle due to blinking cursor ren... by DonHopkins on Thursday March 23, 2017 @12:07PM (#13941028)
Plus the fact that it's actually possible to use the profiler and debugger built into VSCode to profile and reflect upon itself, then drill down into its own live data structures, source code and css to discover and fix what was slowing it down.

I once wrote a visual PostScript debugger for NeWS, which I primarily used for debugging itself. [1]

[1] http://www.donhopkins.com/drupal/node/97

The PSIBER Space Deck is a programming tool that lets you graphically display, manipulate, and navigate the many PostScript data structures, programs, and processes living in the virtual memory space of NeWS.

The Network extensible Window System (NeWS) is a multitasking object oriented PostScript programming environment. NeWS programs and data structures make up the window system kernel, the user interface toolkit, and even entire applications.

The PSIBER Space Deck is one such application, written entirely in PostScript, the result of an experiment in using a graphical programming environment to construct an interactive visual user interface to itself.

Re:VS Code uses 13% CPU when idle due to blinking cursor ren... by Philipp__ on Thursday March 23, 2017 @11:38AM (#13940708)
I tried it too... Wasn't satisfied with performances. I used to install Atom every 2,3 months, when VSCode got released I then tried installing it every few months in place of Atom. I still do, but I always uninstall after few hours of using it. It has many good ideas implemented well, but still not worth switching and sacrificing all of the performance for nice git and debugging interface.
Re:VS Code uses 13% CPU when idle due to blinking cursor ren... by lexicality on Thursday March 23, 2017 @11:43AM (#13940760)
What's too slow for you? I recently switched to it from Vim running in a console (+ a bunch of plugins for IDE features) and it's actually more performant. It doesn't freeze when I run ctrl-p for one thing.
Re:VS Code uses 13% CPU when idle due to blinking cursor ren... by Philipp__ on Thursday March 23, 2017 @11:49AM (#13940826)
Well I don't run any plugins in (neo)Vim besides colorscheme, FZF and neomake, and I run neovim inside Terminal.app since it is much faster than iTerm2.

One situation, I open 5k LOC file, scroll to the middle and bam colors are there everything was instant. In VSCode I open same file, slight delay, opens the tab, I click on middle of side codetree, slight delay, and few seconds for colors to draw. This is just one example. And there are those slight delays all over the place that I don't have with sublime, emacs or vim.

Re:VS Code uses 13% CPU when idle due to blinking cursor ren... by abritinthebay on Thursday March 23, 2017 @12:00PM (#13940953)
VS Code is faster than Atom (by... a lot) tho?

Especially with large files, but just in general. Speed is the main reason I can't stay using Atom for more than a few hours. It's awful.

VS Code is snappier than Sublime Text ffs...

Re:VS Code uses 13% CPU when idle due to blinking cursor ren... by szatkus on Thursday March 23, 2017 @12:38PM (#13941382)
Wait, why? I use Atom on daily basis, don't have very strong machine, but I've never seen performance issues.
Re:VS Code uses 13% CPU when idle due to blinking cursor ren... by abritinthebay on Sunday March 26, 2017 @09:12PM (#13964397)
Compared with Sublime Text (what I used before VS Code) Atom was painfully laggy and slow.

Now if I was coming from a larger, probably Java, IDE? Yeah, I can see that Atom would look great.

Just wasn't for me. Glad you like it tho!

Re:VS Code uses 13% CPU when idle due to blinking cursor ren... by 8draco8 on Thursday March 23, 2017 @12:11PM (#13941077)
VSC is not even close of being as snappy as Sublime Text. Sublime also dominates when opening large files (2GB+) and searching trough them.
Re:VS Code uses 13% CPU when idle due to blinking cursor ren... by abritinthebay on Sunday March 26, 2017 @09:08PM (#13964375)
On my Mac that just wasn't true.

Sublime had the edge in a couple of cases, but when opening large files (esp JS bundles) it crawled. Took over a minute to open one.

Same file in VSCode - maybe a couple of seconds. Maybe.

Re:VS Code uses 13% CPU when idle due to blinking cursor ren... by dragonwriter on Thursday March 23, 2017 @01:07PM (#13941702)
While I occasionally need to open large files like that, they aren't source code files, and I have no problem using a different tool than my main source editor for that.
Re:VS Code uses 13% CPU when idle due to blinking cursor ren... by stinos on Thursday March 23, 2017 @12:31PM (#13941303)
Agreed, except for the domination; true on linux afaik but not on windows: working with the large files is ok but opening them takes ages. VSC is definitely faster there.
Re:VS Code uses 13% CPU when idle due to blinking cursor ren... by 8draco8 on Friday March 24, 2017 @05:55AM (#13947761)
You are probably right. I've used Sublime only on Mac and Linux. On Windows I was using another great, native application - Notepad++. It was as fast (or maybe even faster) as Sublime on other platforms.
Re:VS Code uses 13% CPU when idle due to blinking cursor ren... by abritinthebay on Sunday March 26, 2017 @09:09PM (#13964380)
My experience on the Mac too. Working with was ok (mostly) not great but ok, but opening was very slow.
Re:VS Code uses 13% CPU when idle due to blinking cursor ren... by Philipp__ on Thursday March 23, 2017 @12:07PM (#13941035)
Nope, it's not snappier than Sublime.
Re:VS Code uses 13% CPU when idle due to blinking cursor ren... by abritinthebay on Sunday March 26, 2017 @09:10PM (#13964389)
shrugs

Is for me. Not by a lot, and not in every case, but overall? Is for me.